Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

plugin update strings. #82

  • Loading branch information...
commit f99868242a6526ff1003f4b18162483a8539fefd 1 parent 12e0deb
Cristi Burcă scribu authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/php/wp-cli/commands/internals/plugin.php
7 src/php/wp-cli/commands/internals/plugin.php
View
@@ -263,7 +263,7 @@ function update( $args, $assoc_args ) {
// Grab all Plugins that need Updates
// If we have no sub-arguments, add them to the output list.
- $plugin_list = "Plugin Updates Available:";
+ $plugin_list = "Available plugin updates:";
$plugins_to_update = array();
foreach ( $plugins as $file => $plugin ) {
if ( WP_CLI::get_update_status( $file, 'update_plugins' ) ) {
@@ -281,13 +281,12 @@ function update( $args, $assoc_args ) {
}
if ( empty( $plugins_to_update ) ) {
- WP_CLI::warning( 'No Plugin Updates Available.' );
+ WP_CLI::line( 'No plugin updates available.' );
return;
}
// If --all, UPDATE ALL THE THINGS
- if ( isset( $assoc_args['all'] ) )
- {
+ if ( isset( $assoc_args['all'] ) ) {
$upgrader = WP_CLI::get_upgrader( 'Plugin_Upgrader' );
$result = $upgrader->bulk_upgrade( $plugins_to_update );
Please sign in to comment.
Something went wrong with that request. Please try again.