-
·
X-post: Hardening GitHub Actions workflows across the WordPress organisation
X-comment from +make.wordpress.org/security: Comment on Hardening GitHub Actions workflows across the WordPress organisation Login to Reply
-
·
X-post: WordPress Credits Updates
X-comment from +make.wordpress.org/project: Comment on WordPress Credits Updates Login to Reply
-
·
Exit Codes
WP-CLI follows widely-adopted Unix conventions for exit codes: 0 signals success (the command’s primary condition was satisfied), while non-zero values signal that the primary condition was not satisfied. This can represent either an operational error (the command could not perform the requested operation) or an expected negative result that calling scripts are intended to test…
-
·
Security Vulnerability Reporting for WP-CLI
The WP-CLI team appreciates security vulnerability reports and takes them seriously. If you believe you have discovered a security vulnerability in WP-CLI, please read this page in full before following our responsible disclosure process. A valid report can be granted a CVE and may be rewarded with a bounty payment via the HackerOne program. Report…
-
·
Support
WP-CLI’s maintainers and contributors have limited availability to answer general support questions. The current version of WP-CLI is the only officially supported version. Before asking for help, search for your question in these resources: Common issues and their fixes WP-CLI Handbook Open and closed issues in the WP-CLI GitHub organization Threads tagged WP-CLI in the…
-
·
Beginner’s Guide
So you’ve heard about WP-CLI and want to try it out, but you’re not sure where to start? This guide is for you. No programming experience required! This guide is designed to be read from start to finish. Each section builds on the previous one, taking you from opening a terminal for the first time…
-
·
Common Tasks with WP-CLI
Not sure what you can do with WP-CLI? This page showcases practical, everyday WordPress management tasks you can accomplish from the command line — with examples you can use right away. New to the command line? Start with the Beginner’s Guide first. Plugins Install a plugin wp plugin install contact-form-7 Install and activate a plugin…
-
·
Installing WP-CLI Packages
WP-CLI packages are community-maintained projects built on WP-CLI. They can contain WP-CLI commands, but they can also just extend WP-CLI in some way. To find existing packages to install, take a look at Packagist. Installing a Package Use the wp package install command to install a package. Packages can be specified as: Composer package name…
-
·
WP-CLI Contributor Badge
The WP-CLI Contributor Badge recognizes individuals who have made meaningful contributions to the WP-CLI project. This badge is displayed on a contributor’s WordPress.org profile and highlights their involvement in maintaining and improving WP-CLI. Eligibility criteria You may be eligible for the WP-CLI badge if you have made consistent and valuable contributions, including but not limited…
-
·
Writing Behat Tests for WP-CLI
WP-CLI uses Behat for functional testing. This guide will help you understand how to write and run Behat tests for WP-CLI commands and packages. Introduction What are Behat Tests? Behat is a behavior-driven development (BDD) framework for PHP. In WP-CLI, Behat tests are used as functional tests that execute the entire command and verify it…