WP-CLI v2.11.0 release date: August 6th

The v2.11.0 release of WP-CLIWP-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/ is scheduled to be published on Tuesday, August 6th 2024.

Apart from bug fixes and compatibility improvements, you can also expect a few command and parameter additions to help make the tool more efficient, as well as a large swath of documentation fixes and improvements.

Fifteen Merged PRs for WP-CLI Hack Day 2024

The third ever WP-CLIWP-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/ Hack Day is now complete!

It was really nice to connect with folks both on Zoom and in SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/.. With how much async collaboration we have in the project, it’s quite refreshing to discuss bugs and implementations in real-time. I think we had a Zoom room open for over seven hours.

Many thanks to everyone that participated! 🙏 @abhi3315, @brianhenryie, @danielbachhuber, Deepak Kumar, isla w, @johnbillion, @kau-boy, @mkrndmane, @meszarosrob, @petitphp, @rabmalin, @schlessera, @swissspidy, Takshil Kunadia, @tfirdaus, @thelovekesh

We had 15 pull requests that were merged during the event:

  1. Update docker runner to resolve docker path using /usr/bin/env
  2. Add Signup fetcher
  3. Fix broken Gutenberg test
  4. Warn when supplying multiple themes with theme install --activate
  5. Add wp-versions-data-fetcher workflow
  6. Improve warning message for install and activate multiple themes
  7. Fix breaking multi-line CSV values on reading
  8. Ensure that the POT file use the same license as the theme
  9. Fix inherit path in nested directory
  10. Update failing tests after new transient in WP core
  11. Add tested_up_to field
  12. Correct plugin main file in bootstrap in scaffolded test
  13. Include any non default hook information in CompositeCommand
  14. Add support for GitHub release installation
  15. Enable --format=<format> for db search

In addition to those, we had an additional 6 pull requests with substantial progress during the event that aren’t yet merged:

See you at the next WP-CLI Hack Day!

Save the date! WP-CLI Hack Day on Friday, April 26th

We’re happy to announce the third ever WP-CLIWP-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/ Hack Day! 🤓🎈

On 🕓 Friday, 26th April 2024 we’ll officially kick off the WP-CLI Hack Day at 🕗 Friday, 26th April 2024, 0800 UTC. From that point on, @schlessera, @swissspidy, and I will be generally available in Slack #cli channel and on the GitHub wp-cli organization to onboard new contributors, help people pick issues to work on and remove hurdles that keep them from finishing their PRs. This will continue more or less without interruption during the entire event.

From 🕓 Friday, 26th April 2024, 0900 UTC to Friday, 26th April 2024, 1000 UTC and then again between 🕓 Friday, 26th April 2024, 1500 UTC and Friday, 26th April 2024, 1600 UTC we’ll have an open video chat that everyone can join, where we can discuss remaining issues live and chat about the progress we’ve made. This extended video chat session will then conclude the event. Shortly after 🕕 Friday, 26th April 2024, 2200 UTC, I will post a make/cli blog post about the progress we were able to make during the allotted time frame.

The 🎯 goal for this WP-CLI Hack Day is both simple and ambitious:

Finish the day with 2️⃣0️⃣ pull requests that have been merged during the event ❗️

Everyone is welcome to participate! This event is supposed to be fun and inspiring, and we expect people to help each other make progress along the way.

Let’s make this happen! 👍 The official hashtag for the event is #hackwpcli 📣

#hack-day

Twenty-One Merged PRs for WP-CLI Hack Day 2023

The second ever WP-CLIWP-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/ Hack Day is now complete! It was a ton of fun to collaborate with folks all over the world — without the long airplane flight 😊

Many thanks to everyone that participated! 🙏 @antoniosejas, @janwoostendorp, @johnbillion, @kau-boy, @pekkakortelainen, @schlessera, @shawnhooper, @skithund, @swissspidy, @thelovekesh, @wojtekn, @xknown

We had twenty-one pull requests that were merged during the event:

  1. Add missing documentation for $data attribute in http_request()
  2. Add docker compose command support in SSH command generation
  3. Site_Command: Do not assume get_super_admins() has the 0 array index
  4. Improve SQLite compatibility
  5. Fix super admin test on SQLite
  6. Move SQLite plugin to mu-plugins
  7. Further improve SQLite testing
  8. Re-enable some tests for SQLite
  9. Add update_version to the default fields for plugin and theme commands
  10. Add missing required arguments when using --prompt
  11. Fix SQLite mu-plugins usage with composer installs
  12. Remove use of @require-wp-latest
  13. Update PHPCS workflow to add full report in CI logs
  14. Add examples on listing unapproved, spam and trash comments
  15. Replace DOS line endings with LF
  16. Remove the pre-commit hook installation and its corresponding command
  17. Remove inexistent post-install-cmd
  18. Add edge case handling checksum verification of Hello Dolly
  19. Support for adding and removing of multiple user roles
  20. Add --force-check flag to check-update command
  21. Add verbosity level and quiet flag in ssh command based on debug flag

In addition to those, we had an additional four pull requests that were submitted during the event that aren’t yet merged:

  1. Add support for MySQL socket connection
  2. Dist Archive: ask user confirmation if file exists before overwriting it
  3. Enable formatter for search command
  4. Check if Installed Plugins Are No Longer in the Plugin Directory

It was really great to spend time with folks on Zoom, too. ❤️ We spent several hours triaging the backlog, talking through various issues, and being thankful we weren’t frantically fixing a curl compatibility issue.

See you at the next WP-CLI Hack Day!

Save the date! WP-CLI Hack Day on Friday, November 10th

We’re happy to announce the second ever WP-CLIWP-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/ Hack Day! 🤓🎈

On 🗓 Friday, 10th November 2023 we’ll officially kick off the WP-CLI Hack Day at 🕗 Friday, 10th November 2023, 0800 UTC. From that point on, @schlessera, @swissspidy, and I will be generally available in Slack #cli channel and on the GitHub wp-cli organization to onboard new contributors, help people pick issues to work on and remove hurdles that keep them from finishing their PRs. This will continue more or less without interruption during the entire event.

From 🕓 Friday, 10th November 2023, 09:00 CET to Friday, 10th November 2023, 10:00 CET and then again between 🕓 Friday, 10th November 2023,1500 UTC and Friday, 10th November 2023,1600 UTC we’ll have an open video chat that everyone can join, where we can discuss remaining issues live and chat about the progress we’ve made. This extended video chat session will then conclude the event. Shortly after 🕕 Friday, 10th November 2023, 2200 UTC, I will post a make/cli blog post about the progress we were able to make during the allotted time frame.

The 🎯 goal for this WP-CLI Hack Day is both simple and ambitious:

Finish the day with 2️⃣0️⃣ pull requests that have been merged during the event ❗️

Everyone is welcome to participate! This event is supposed to be fun and inspiring, and we expect people to help each other make progress along the way.

Let’s make this happen! 👍 The official hashtag for the event is #hackwpcli 📣

#hack-day

Good issues for new and existing contributors

Want to submit your first pull request to WP-CLIWP-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/? We’ve identified a few good first issues for you to get your feet wet:

If you’ve contributed to WP-CLI before, we have 77 open bugs we’d love your assistance sorting through. 😁

Read through the contributing guide for details on how to get started. Feel free to ask questions on the specific issue, or join us in the #cli channel with any questions you might have.

Thanks for your help!

New Premier Sponsor added: Cloudways

Cloudways Logo

A new premier sponsor has come forward and is added to the list of generous companies that sponsor the WP-CLIWP-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/ project: Cloudways!

Please help me in welcoming this new sponsor, as well as say thanks to all the other currently active sponsors:

There’s also a new page on the site now where you can see the full list of currently active sponsors at all times: https://make.wordpress.org/cli/sponsors/.

#sponsorship

WP-CLI Release v2.4.0

Just in time for the release of WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. 5.3.0 we have a new release of WP-CLIWP-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/ as well. A team of 37 contributors has collaborated to get 159 pull requests merged.

Let’s go over some of the noteworthy changes in this release. Most of the work went into compatibility fixes, so there’s not many new toys to play around with, unfortunately. As always, you can also skip directly to the detailed changelog if you prefer.

WordPress 5.3 support

It should be obvious that WP-CLI supports the latest upcoming WordPress Core release, of course. However, there were quite a few changes that went into 5.3 that made it not only difficult to keep WP-CLI working across 5.3 and earlier versions at the same time, but also made it necessary to release WP-CLI in parallel to have a working option available.

The push to support more of the newer PHPPHP 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. features that became available due to the bump to the minimum PHP version of Core introduced changes to function signatures and class interfaces, which required a few adventurous fixes in some cases…

PHP 7.4 support

PHP 7.4 is not yet available in a stable release, but we’re slowly coming closer to the planned release date.

There have been quite a few fixes that went into WP-CLI to make sure it works correctly with PHP 7.4 once it’s available. It’s an ongoing process, still, as we’re working towards the first stable version. Tests are running for PHP 7.4 in the background as well for each package. These are still allowed to fail right now, but after this release, they will be switch to break on error.

Download a specific URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org as Core

The core download command now accepts a URL to download a specific ZIP archive with a version of Core to use. This also allows you to use your own custom version easily. Just add the URL and you’re good to go: wp core download https://somesite/build.zip

Large image support

WP-CLI will properly deal with large images in the way that WP Core 5.3 was improved. It knows about the original source images as well so you can safely rebuild your thumbnails without losing quality.

Detailed Change Log

wp-cli/wp-cli-bundle

  • Allow patches from dependencies to be applied [#150]

wp-cli/handbook

  • Fix STDERR redirection example code [#342]
  • Add SiteDistrict to hosting-companies.md file [#341]
  • Update reference URLs. [#337]
  • Add WooCart to hosting-companies.md file [#336]
  • Add MinHost to hosting-companies.md file [#334]

wp-cli/wp-cli.github.com

  • Update romanian translation [#392]
  • Update link to wp-completion.bash [#391]
  • [pt_BR] Update to v2.3.0 + refresh sponsors [#390]
  • Update Turkish translation [#389]
  • Small adjustments for French translation [#388]
  • Update ja/index.md [#387]

wp-cli/core-command

  • Use version known to work for core download test [#136]
  • Support URL for core download [#135]
  • install changed to installation [#132]
  • On multisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core.https://codex.wordpress.org/Create_A_Network.-convert, don’t assume site_id is 1 [#122]

wp-cli/db-command

  • Fix tests for changes in WP Core 5.3 [#149]
  • Make db clean get all the tables with prefix [#152]
  • Fix output message for STDIN input [#151]

wp-cli/entity-command

wp-cli/extension-command

  • Add second must-use pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party that is added with wp-cli-tests 2.1.6+ [#200]
  • Equalize theme folder naming conventions across Win/Mac/Linux [#196]

wp-cli/i18n-command

  • Adapt code to gettext v4.8 [#194]
  • Add --debug output for the file being processed. [#183]
  • Use correct argument name in warning message [#180]

wp-cli/media-command

  • Adapt to changes in WP 5.3 image handling to fix broken tests [#115]
  • Fix suffix of scaled large images [#118]

wp-cli/scaffold-command

  • Required PHP version headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. [#238]
  • Fix deprecated whitelist code flag [#236]
  • Switch test prep feature from global PHPUnit to local PHPUnit [#235]
  • Add a minimum php requirement [#234]
  • Scripts added to plugin package.json [#225]

wp-cli/widget-command

  • Adapt tests to make the widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. expectations more flexible [#34]

Contributors

@aommundsen, @azito122, @beaucollins, @burhandodhy, @connerbw, @derweili, @drzraf, @dz0ny, @felipeelia, @gitlost, @greatislander, @herregroen, @jrfnl, @l3ku, @localheinz, @marksabbath, @marty-crane, @maximejobin, @mcdwayne, @michaelzangl, @mustafauysal, @nxnjz, @nylen, @ocean90, @pdaalder, @raphael-concil, @sagarnasit, @schlessera, @siliconforks, @swissspidy, @tecking, @thrijith, @vladutilie, @wojsmol, @yousan, @zzap

#release, #v2-4-0

Release v2.3.0 postponed

The WP-CLIWP-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/ release v2.3.0 needs to be postponed.

The code itself should reliably work right now. However, between Travis server connectivity issues and the Travis PHP environment not being able to connect to the wordpress.org servers, I have been unable to run successful tests over the resulting build (although all local tests pass without issues).

Next planned release date is Tuesday, August 13th. This gives me some time to work through the Travis curl issues and work on getting the project “into the green”.

Upcoming release v2.3.0

Just a quick heads-up regarding the next release for WP-CLIWP-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/.

WP-CLI v2.3.0 is scheduled to be released on August 7th, 2019, which is a Wednesday according to the calendar I’m looking at.

It will be a pretty unspectacular release, as I will mostly focus on tying up a few loose ends in that particular release and wanted to get a few bug fixes out into the wild.

Expect v2.4.0 (November-ish) to be more feature-rich again… 😊