Changeset 45643
- Timestamp:
- 07/16/2019 01:14:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r45642 r45643 50 50 wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); 51 51 exit; 52 53 /** 54 * Filters whether to attempt to perform the multisite DB upgrade routine. 55 * 56 * In single site, the user would be redirected to wp-admin/upgrade.php. 57 * In multisite, the DB upgrade routine is automatically fired, but only 58 * when this filter returns true. 59 * 60 * If the network is 50 sites or less, it will run every time. Otherwise, 61 * it will throttle itself to reduce load. 62 * 63 * @since MU (3.0.0) 64 * 65 * @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true. 66 */ 67 } elseif ( apply_filters( 'do_mu_upgrade', true ) ) { 52 } 53 54 /** 55 * Filters whether to attempt to perform the multisite DB upgrade routine. 56 * 57 * In single site, the user would be redirected to wp-admin/upgrade.php. 58 * In multisite, the DB upgrade routine is automatically fired, but only 59 * when this filter returns true. 60 * 61 * If the network is 50 sites or less, it will run every time. Otherwise, 62 * it will throttle itself to reduce load. 63 * 64 * @since MU (3.0.0) 65 * 66 * @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true. 67 */ 68 if ( apply_filters( 'do_mu_upgrade', true ) ) { 68 69 $c = get_blog_count(); 69 70
Note: See TracChangeset
for help on using the changeset viewer.