mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Inline documentation for hooks in wp-admin/network/upgrade.php.
Props miyauchi for the initial patch. Fixes #25881. git-svn-id: https://develop.svn.wordpress.org/trunk@26914 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -66,13 +66,7 @@ if ( get_option('db_upgraded') ) {
|
||||
if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) {
|
||||
require_once( ABSPATH . WPINC . '/http.php' );
|
||||
$response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) );
|
||||
/**
|
||||
* Fires after the multisite DB upgrade is complete.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param array|WP_Error $response The upgrade response array or WP_Error on failure.
|
||||
*/
|
||||
/** This action is documented in wp-admin/network/upgrade.php */
|
||||
do_action( 'after_mu_upgrade', $response );
|
||||
unset($response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user