Upgrader: After [37409] move the hook docs for `upgrader_process_complete` to `WP_Upgrader::run()`.
Add changelog entry for [23912]. Part 7/8. See #36618. Built from https://develop.svn.wordpress.org/trunk@37412 git-svn-id: http://core.svn.wordpress.org/trunk@37378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5844c585f6
commit
a8525b1109
|
@ -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',
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue