WP CLI BuddyPress – v3.0.0

🎈 A new release of WP CLI BuddyPress, v3.0.0, is now available.

The main purpose of this release was to introduce new commands, and polish the implementation of available commands. As always, you can also skip directly to the detailed changelog if you prefer.

This update will be bundled with BuddyPress core when the v14.0.0 version is released. You can also test the new changes beforehand by following the recommended installation methods.

New Commands

We are introducing a few more commands to the package. Mainly:

wp bp notice

This new command can be used to manage Sitewide Notices via the command line.

wp bp notice

wp bp activity delete-comment

This new command can be used to remove activity comments via the command line.

delete-comment and remove-comment are aliases added for the, now removed, wp bp activity delete_comment command.

wp bp activity delete-comment

Removed Commands

wp bp group invite remove

This command was removed and replaced by the new wp bp group invite uninvite command to avoid a conflict, and confusion, with the delete/remove command (where the invite is actually deleted from the database). This is the new way to uninvite a user via the BP CLI.

wp bp activity delete_comment

This command was removed and replaced by the new wp bp activity delete-comment.

wp bp activity favorite user_items

The user_items and items command aliases were removed from the wp bp activity favorite list command.

Noteworthy changes to commands

We polished the implementation of many commands. Here are some noteworthy changes:

  • wp bp tool signup this command can be used to activate or deactivate the BuddyPress signup feature in a multisite installation.
  • Support for the --silence flag introduced to create commands.
  • Support for the --silence flag introduced to the wp bp activity comment command.
  • Support for the --format and --silent flags for the generate commands.
  • Confirmation message updated for delete commands that accepts multiple values
  • PHPDoc improvements
    • All generate commands’ output were standardized
    • All create commands’ output were standardized
    • All delete commands’ output were standardized
    • All delete commands’ aliases were standardized
    • All list commands were standardized
    • Invalid --format option haml removed

Beginning testing against PHP 8.3

We are not testing for PHP 8.3. This paves the way for eventually supporting the 8.3 version.

And several other minor changes to improve the codebase, and make sure the commands would run smoothly.

#14-0-0, #wp-cli