Changes between Version 1 and Version 2 of Ticket #47084, comment 4
- Timestamp:
- 04/30/2019 11:07:22 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47084, comment 4
v1 v2 1 Another place an `! is_multisite() ` is probably needed is for `check_wp_version_check_exists()`. It looks for the presence of the `'wp_version_check'` hook but it is not present when on multisite and not on the default site (it's never added there by design). See at the bottom of [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/update.php#L801 wp-includes/update.php]:1 Another place an `! is_multisite() || is_main_site()` is probably needed is for `check_wp_version_check_exists()`. It looks for the presence of the `'wp_version_check'` hook but it is not present when on multisite and not on the default site (it's never added there by design). See at the bottom of [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/update.php#L801 wp-includes/update.php]: 2 2 {{{ 3 3 if ( ( ! is_main_site() && ! is_network_admin() ) || wp_doing_ajax() ) {