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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user