In the last two and a half months, we’ve added a ton of new features, fixed many bugs and improved our functional test suite.
New installer
You can still install WP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ by cloning the git repo, but the preferred method is to use the installer, as described on the front page.
The main reason for using the installer is to be able to leverage the optional Boris package, for an enhanced wp shell experience.
Changelog
Commands:
- added
wp scaffold child-theme subcommand
- added
wp media import subcommand
- added
wp blog empty subcommand
- added
wp post get subcommand
- added
wp plugin list and wp theme list subcommands
- added
--extra-php flag to wp core config subcommand
- added
--label option to wp scaffold post-type and wp scaffold taxonomy
- added
--verbose flag to wp export command
- added
--fields option to all list subcommands
- removed
wp home command
wp search-replace: added --skip_columns option; added --network flag; fixed a lot of bugs
wp theme install: fixed --version parameter being ignored
wp core init-tests: create the test database if necessary
wp db: ignore ~/.my.cnf file when running subcommands
wp db query: read from STDIN if no parameter is passed
Internals:
- made it possible to call
wp from subdirectories
- set
WP_ADMIN to true
- improved Cygwin compatibility
- replaced
--man flag with --help --gen
- converted
--json to --format=json everywhere
- show PHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/preface.php. errors only on STDERR
You can also browse the full list of resolved issues on Github GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/.
Contributors to this release: cyberhobo, daithi-coombes, danielbachhuber, future500, glebis, goldenapples, j3lamp, jmslbam, mwilliamson, om4james, scribu, tlovett1, tolgap, twisty, westonruter.
What’s next?
I foresee a comeback of community commands, but in a better form.