Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#59889 new enhancement

Bulk plugin update should show the plugin name/slug being updated

Reported by: iamchitti's profile iamchitti Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords:
Focuses: ui Cc:

Description

In case a bulk plugin update is triggered, it doesn't shows the name of plugin being updated. Here is an output -

Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/plugin/akismet.3.1.11.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Downloading update from https://downloads.wordpress.org/plugin/nginx-champuru.3.2.0.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Disabling Maintenance mode...

Instead, it would be nice to show the plugin name before the download log message so that user can be well informed. So, on adding Updating <plugin-slug>, message should be -

Enabling Maintenance mode...
Updating akismet
Downloading update from https://downloads.wordpress.org/plugin/akismet.3.1.11.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Updating nginx-champuru
Downloading update from https://downloads.wordpress.org/plugin/nginx-champuru.3.2.0.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Disabling Maintenance mode...

With this change, the WP CLI log output also improves. This was first raised here - https://github.com/wp-cli/extension-command/issues/261.

Change History (1)

#1 @sabernhardt
4 months ago

  • Component changed from Plugins to Upgrade/Install
Note: See TracTickets for help on using tickets.