diff --git a/wp-admin/includes/class-plugin-upgrader.php b/wp-admin/includes/class-plugin-upgrader.php index 743fb797df..e2d9308d24 100644 --- a/wp-admin/includes/class-plugin-upgrader.php +++ b/wp-admin/includes/class-plugin-upgrader.php @@ -293,22 +293,7 @@ class Plugin_Upgrader extends WP_Upgrader { $this->maintenance_mode(false); - /** - * Fires when the bulk upgrader process is complete. - * - * @since 3.6.0 - * - * @param Plugin_Upgrader $this Plugin_Upgrader instance. In other contexts, $this, might - * be a Theme_Upgrader or Core_Upgrade instance. - * @param array $data { - * Array of bulk item update data. - * - * @type string $action Type of action. Default 'update'. - * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. - * @type bool $bulk Whether the update process is a bulk update. Default true. - * @type array $packages Array of plugin, theme, or core packages to update. - * } - */ + /** This action is documented in wp-admin/includes/class-wp-upgrader.php */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'update', 'type' => 'plugin', diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index ac989d94cc..34709dd204 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -743,7 +743,23 @@ class WP_Upgrader { if ( ! $options['is_multi'] ) { - /** This action is documented in wp-admin/includes/class-wp-upgrader.php */ + /** + * Fires when the upgrader process is complete. + * + * @since 3.6.0 + * @since 3.7.0 Added to WP_Upgrader::run(). + * + * @param WP_Upgrader $this WP_Upgrader instance. In other contexts, $this, might be a + * Theme_Upgrader, Plugin_Upgrader or Core_Upgrade instance. + * @param array $data { + * Array of bulk item update data. + * + * @type string $action Type of action. Default 'update'. + * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. + * @type bool $bulk Whether the update process is a bulk update. Default true. + * @type array $packages Array of plugin, theme, or core packages to update. + * } + */ do_action( 'upgrader_process_complete', $this, $options['hook_extra'] ); $this->skin->footer(); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 678d4a7de9..7a5c5bd75a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37411'; +$wp_version = '4.6-alpha-37412'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.