Changeset 26914
- Timestamp:
- 01/07/2014 04:22:14 AM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r25747 r26914 67 67 require_once( ABSPATH . WPINC . '/http.php' ); 68 68 $response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) ); 69 /** 70 * Fires after the multisite DB upgrade is complete. 71 * 72 * @since 3.0.0 73 * 74 * @param array|WP_Error $response The upgrade response array or WP_Error on failure. 75 */ 69 /** This action is documented in wp-admin/network/upgrade.php */ 76 70 do_action( 'after_mu_upgrade', $response ); 77 71 unset($response); -
trunk/src/wp-admin/network/upgrade.php
r26518 r26914 68 68 if ( is_wp_error( $response ) ) 69 69 wp_die( sprintf( __( 'Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: <em>%2$s</em>' ), $siteurl, $response->get_error_message() ) ); 70 /** 71 * Fires after the Multisite DB upgrade for each site is complete. 72 * 73 * @since MU 74 * 75 * @param array|WP_Error $response The upgrade response array or WP_Error on failure. 76 */ 70 77 do_action( 'after_mu_upgrade', $response ); 78 /** 79 * Fires after each site has been upgraded. 80 * 81 * @since MU 82 * 83 * @param int $blog_id The id of the blog. 84 */ 71 85 do_action( 'wpmu_upgrade_site', $details[ 'blog_id' ] ); 72 86 } … … 93 107 <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p> 94 108 <?php 109 /** 110 * Fires before the footer on the network upgrade screen. 111 * 112 * @since MU 113 */ 95 114 do_action( 'wpmu_upgrade_page' ); 96 115 break;
Note: See TracChangeset
for help on using the changeset viewer.