Changeset 48559
- Timestamp:
- 07/22/2020 12:13:21 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r48558 r48559 2320 2320 $cron_offset = $cron->time - time(); 2321 2321 if ( 2322 2323 2324 2322 $cron_offset >= $this->timeout_missed_cron && 2323 $cron_offset < $this->timeout_late_cron 2324 ) { 2325 2325 $this->last_late_cron = $cron->hook; 2326 2326 return true; … … 2350 2350 $theme_filter_present = has_filter( 'auto_update_theme' ); 2351 2351 2352 if ( ( ! $test_plugins_enabled && $ui_enabled_for_plugins ) || ( $test_themes_enabled && $ui_enabled_for_themes ) ) { 2352 if ( ( ! $test_plugins_enabled && $ui_enabled_for_plugins ) 2353 || ( ! $test_themes_enabled && $ui_enabled_for_themes ) 2354 ) { 2353 2355 return (object) array( 2354 2356 'status' => 'critical', … … 2357 2359 } 2358 2360 2359 if ( ( ! $test_plugins_enabled && $plugin_filter_present ) && ( ! $test_themes_enabled && $theme_filter_present ) ) { 2361 if ( ( ! $test_plugins_enabled && $plugin_filter_present ) 2362 && ( ! $test_themes_enabled && $theme_filter_present ) 2363 ) { 2360 2364 return (object) array( 2361 2365 'status' => 'recommended',
Note: See TracChangeset
for help on using the changeset viewer.