Changeset 48560 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 07/22/2020 12:15:33 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r48559 r48560 1744 1744 public function get_test_plugin_theme_auto_updates() { 1745 1745 $result = array( 1746 'label' => __( 'Plugin and Theme auto-updates appear to be configured correctly' ),1746 'label' => __( 'Plugin and theme auto-updates appear to be configured correctly' ), 1747 1747 'status' => 'good', 1748 1748 'badge' => array( … … 1752 1752 'description' => sprintf( 1753 1753 '<p>%s</p>', 1754 __( 'Plugin and theme auto 1754 __( 'Plugin and theme auto-updates ensure that the latest versions are always installed.' ) 1755 1755 ), 1756 1756 'actions' => '', … … 2364 2364 return (object) array( 2365 2365 'status' => 'recommended', 2366 'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your site sfrom receiving new versions automatically when available.' ),2366 'message' => __( 'Auto-updates for plugins and themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), 2367 2367 ); 2368 2368 } elseif ( ! $test_plugins_enabled && $plugin_filter_present ) { 2369 2369 return (object) array( 2370 2370 'status' => 'recommended', 2371 'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your site sfrom receiving new versions automatically when available.' ),2371 'message' => __( 'Auto-updates for plugins appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), 2372 2372 ); 2373 2373 } elseif ( ! $test_themes_enabled && $theme_filter_present ) { 2374 2374 return (object) array( 2375 2375 'status' => 'recommended', 2376 'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your site sfrom receiving new versions automatically when available.' ),2376 'message' => __( 'Auto-updates for themes appear to be disabled. This will prevent your site from receiving new versions automatically when available.' ), 2377 2377 ); 2378 2378 } … … 2380 2380 return (object) array( 2381 2381 'status' => 'good', 2382 'message' => __( 'There appear sto be no issues with plugin and theme auto-updates.' ),2382 'message' => __( 'There appear to be no issues with plugin and theme auto-updates.' ), 2383 2383 ); 2384 2384 }
Note: See TracChangeset
for help on using the changeset viewer.