@@ -56,7 +56,7 @@ public function __construct() {
56
56
}
57
57
58
58
/**
59
- * Output the content of a tab in the Site Health screen.
59
+ * Outputs the content of a tab in the Site Health screen.
60
60
*
61
61
* @since 5.8.0
62
62
*
@@ -69,7 +69,7 @@ public function show_site_health_tab( $tab ) {
69
69
}
70
70
71
71
/**
72
- * Return an instance of the WP_Site_Health class, or create one if none exist yet.
72
+ * Returns an instance of the WP_Site_Health class, or create one if none exist yet.
73
73
*
74
74
* @since 5.4.0
75
75
*
@@ -161,7 +161,7 @@ public function enqueue_scripts() {
161
161
}
162
162
163
163
/**
164
- * Run a Site Health test directly.
164
+ * Runs a Site Health test directly.
165
165
*
166
166
* @since 5.4.0
167
167
*
@@ -194,7 +194,7 @@ private function perform_test( $callback ) {
194
194
}
195
195
196
196
/**
197
- * Run the SQL version checks.
197
+ * Runs the SQL version checks.
198
198
*
199
199
* These values are used in later tests, but the part of preparing them is more easily managed
200
200
* early in the class for ease of access and discovery.
@@ -220,7 +220,7 @@ private function prepare_sql_data() {
220
220
}
221
221
222
222
/**
223
- * Test if `wp_version_check` is blocked.
223
+ * Tests whether `wp_version_check` is blocked.
224
224
*
225
225
* It's possible to block updates with the `wp_version_check` filter, but this can't be checked
226
226
* during an Ajax call, as the filter is never introduced then.
@@ -342,7 +342,7 @@ public function get_test_wordpress_version() {
342
342
}
343
343
344
344
/**
345
- * Test if plugins are outdated, or unnecessary.
345
+ * Tests if plugins are outdated, or unnecessary.
346
346
*
347
347
* The test checks if your plugins are up to date, and encourages you to remove any
348
348
* that are not in use.
@@ -475,7 +475,7 @@ public function get_test_plugin_version() {
475
475
}
476
476
477
477
/**
478
- * Test if themes are outdated, or unnecessary.
478
+ * Tests if themes are outdated, or unnecessary.
479
479
*
480
480
* Сhecks if your site has a default theme (to fall back on if there is a need),
481
481
* if your themes are up to date and, finally, encourages you to remove any themes
@@ -716,7 +716,7 @@ public function get_test_theme_version() {
716
716
}
717
717
718
718
/**
719
- * Test if the supplied PHP version is supported.
719
+ * Tests if the supplied PHP version is supported.
720
720
*
721
721
* @since 5.2.0
722
722
*
@@ -796,7 +796,7 @@ public function get_test_php_version() {
796
796
}
797
797
798
798
/**
799
- * Check if the passed extension or function are available.
799
+ * Checks if the passed extension or function are available.
800
800
*
801
801
* Make the check for available PHP modules into a simple boolean operator for a cleaner test runner.
802
802
*
@@ -835,7 +835,7 @@ private function test_php_extension_availability( $extension_name = null, $funct
835
835
}
836
836
837
837
/**
838
- * Test if required PHP modules are installed on the host.
838
+ * Tests if required PHP modules are installed on the host.
839
839
*
840
840
* This test builds on the recommendations made by the WordPress Hosting Team
841
841
* as seen at https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions
@@ -970,7 +970,7 @@ public function get_test_php_extensions() {
970
970
);
971
971
972
972
/**
973
- * An array representing all the modules we wish to test for.
973
+ * Filters the array representing all the modules we wish to test for.
974
974
*
975
975
* @since 5.2.0
976
976
* @since 5.3.0 The `$constant` and `$class` parameters were added.
@@ -1074,7 +1074,7 @@ public function get_test_php_extensions() {
1074
1074
}
1075
1075
1076
1076
/**
1077
- * Test if the PHP default timezone is set to UTC.
1077
+ * Tests if the PHP default timezone is set to UTC.
1078
1078
*
1079
1079
* @since 5.3.1
1080
1080
*
@@ -1115,7 +1115,7 @@ public function get_test_php_default_timezone() {
1115
1115
}
1116
1116
1117
1117
/**
1118
- * Test if there's an active PHP session that can affect loopback requests.
1118
+ * Tests if there's an active PHP session that can affect loopback requests.
1119
1119
*
1120
1120
* @since 5.5.0
1121
1121
*
@@ -1161,7 +1161,7 @@ public function get_test_php_sessions() {
1161
1161
}
1162
1162
1163
1163
/**
1164
- * Test if the SQL server is up to date.
1164
+ * Tests if the SQL server is up to date.
1165
1165
*
1166
1166
* @since 5.2.0
1167
1167
*
@@ -1250,7 +1250,7 @@ public function get_test_sql_server() {
1250
1250
}
1251
1251
1252
1252
/**
1253
- * Test if the database server is capable of using utf8mb4.
1253
+ * Tests if the database server is capable of using utf8mb4.
1254
1254
*
1255
1255
* @since 5.2.0
1256
1256
*
@@ -1371,7 +1371,7 @@ public function get_test_utf8mb4_support() {
1371
1371
}
1372
1372
1373
1373
/**
1374
- * Test if the site can communicate with WordPress.org.
1374
+ * Tests if the site can communicate with WordPress.org.
1375
1375
*
1376
1376
* @since 5.2.0
1377
1377
*
@@ -1434,7 +1434,7 @@ public function get_test_dotorg_communication() {
1434
1434
}
1435
1435
1436
1436
/**
1437
- * Test if debug information is enabled.
1437
+ * Tests if debug information is enabled.
1438
1438
*
1439
1439
* When WP_DEBUG is enabled, errors and information may be disclosed to site visitors,
1440
1440
* or logged to a publicly accessible file.
@@ -1511,7 +1511,7 @@ public function get_test_is_in_debug_mode() {
1511
1511
}
1512
1512
1513
1513
/**
1514
- * Test if your site is serving content over HTTPS.
1514
+ * Tests if the site is serving content over HTTPS.
1515
1515
*
1516
1516
* Many sites have varying degrees of HTTPS support, the most common of which is sites that have it
1517
1517
* enabled, but only if you visit the right site address.
@@ -1660,7 +1660,7 @@ public function get_test_https_status() {
1660
1660
}
1661
1661
1662
1662
/**
1663
- * Check if the HTTP API can handle SSL/TLS requests.
1663
+ * Checks if the HTTP API can handle SSL/TLS requests.
1664
1664
*
1665
1665
* @since 5.2.0
1666
1666
*
@@ -1703,7 +1703,7 @@ public function get_test_ssl_support() {
1703
1703
}
1704
1704
1705
1705
/**
1706
- * Test if scheduled events run as intended.
1706
+ * Tests if scheduled events run as intended.
1707
1707
*
1708
1708
* If scheduled events are not running, this may indicate something with WP_Cron is not working
1709
1709
* as intended, or that there are orphaned events hanging around from older code.
@@ -1775,7 +1775,7 @@ public function get_test_scheduled_events() {
1775
1775
}
1776
1776
1777
1777
/**
1778
- * Test if WordPress can run automated background updates.
1778
+ * Tests if WordPress can run automated background updates.
1779
1779
*
1780
1780
* Background updates in WordPress are primarily used for minor releases and security updates.
1781
1781
* It's important to either have these working, or be aware that they are intentionally disabled
@@ -1849,7 +1849,7 @@ public function get_test_background_updates() {
1849
1849
}
1850
1850
1851
1851
/**
1852
- * Test if plugin and theme auto-updates appear to be configured correctly.
1852
+ * Tests if plugin and theme auto-updates appear to be configured correctly.
1853
1853
*
1854
1854
* @since 5.5.0
1855
1855
*
@@ -1888,7 +1888,7 @@ public function get_test_plugin_theme_auto_updates() {
1888
1888
}
1889
1889
1890
1890
/**
1891
- * Test if loopbacks work as expected.
1891
+ * Tests if loopbacks work as expected.
1892
1892
*
1893
1893
* A loopback is when WordPress queries itself, for example to start a new WP_Cron instance,
1894
1894
* or when editing a plugin or theme. This has shown itself to be a recurring issue,
@@ -1931,7 +1931,7 @@ public function get_test_loopback_requests() {
1931
1931
}
1932
1932
1933
1933
/**
1934
- * Test if HTTP requests are blocked.
1934
+ * Tests if HTTP requests are blocked.
1935
1935
*
1936
1936
* It's possible to block all outgoing communication (with the possibility of allowing certain
1937
1937
* hosts) via the HTTP API. This may create problems for users as many features are running as
@@ -2003,7 +2003,7 @@ public function get_test_http_requests() {
2003
2003
}
2004
2004
2005
2005
/**
2006
- * Test if the REST API is accessible.
2006
+ * Tests if the REST API is accessible.
2007
2007
*
2008
2008
* Various security measures may block the REST API from working, or it may have been disabled in general.
2009
2009
* This is required for the new block editor to work, so we explicitly test for this.
@@ -2109,7 +2109,7 @@ public function get_test_rest_availability() {
2109
2109
}
2110
2110
2111
2111
/**
2112
- * Test if 'file_uploads' directive in PHP.ini is turned off.
2112
+ * Tests if 'file_uploads' directive in PHP.ini is turned off.
2113
2113
*
2114
2114
* @since 5.5.0
2115
2115
*
@@ -2468,7 +2468,7 @@ public function get_test_persistent_object_cache() {
2468
2468
}
2469
2469
2470
2470
/**
2471
- * Return a set of tests that belong to the site status page.
2471
+ * Returns a set of tests that belong to the site status page.
2472
2472
*
2473
2473
* Each site status test is defined here, they may be `direct` tests, that run on page load, or `async` tests
2474
2474
* which will run later down the line via JavaScript calls to improve page performance and hopefully also user
@@ -2603,7 +2603,7 @@ public static function get_tests() {
2603
2603
}
2604
2604
2605
2605
/**
2606
- * Add or modify which site status tests are run on a site.
2606
+ * Filters which site status tests are run on a site.
2607
2607
*
2608
2608
* The site health is determined by a set of tests based on best practices from
2609
2609
* both the WordPress Hosting Team and web standards in general.
@@ -2669,7 +2669,7 @@ public static function get_tests() {
2669
2669
}
2670
2670
2671
2671
/**
2672
- * Add a class to the body HTML tag.
2672
+ * Adds a class to the body HTML tag.
2673
2673
*
2674
2674
* Filters the body class string for admin pages and adds our own class for easier styling.
2675
2675
*
@@ -2690,7 +2690,7 @@ public function admin_body_class( $body_class ) {
2690
2690
}
2691
2691
2692
2692
/**
2693
- * Initiate the WP_Cron schedule test cases.
2693
+ * Initiates the WP_Cron schedule test cases.
2694
2694
*
2695
2695
* @since 5.2.0
2696
2696
*/
@@ -2700,7 +2700,7 @@ private function wp_schedule_test_init() {
2700
2700
}
2701
2701
2702
2702
/**
2703
- * Populate our list of cron events and store them to a class-wide variable.
2703
+ * Populates the list of cron events and store them to a class-wide variable.
2704
2704
*
2705
2705
* @since 5.2.0
2706
2706
*/
@@ -2733,7 +2733,7 @@ private function get_cron_tasks() {
2733
2733
}
2734
2734
2735
2735
/**
2736
- * Check if any scheduled tasks have been missed.
2736
+ * Checks if any scheduled tasks have been missed.
2737
2737
*
2738
2738
* Returns a boolean value of `true` if a scheduled task has been missed and ends processing.
2739
2739
*
@@ -2759,7 +2759,7 @@ public function has_missed_cron() {
2759
2759
}
2760
2760
2761
2761
/**
2762
- * Check if any scheduled tasks are late.
2762
+ * Checks if any scheduled tasks are late.
2763
2763
*
2764
2764
* Returns a boolean value of `true` if a scheduled task is late and ends processing.
2765
2765
*
@@ -2789,7 +2789,7 @@ public function has_late_cron() {
2789
2789
}
2790
2790
2791
2791
/**
2792
- * Check for potential issues with plugin and theme auto-updates.
2792
+ * Checks for potential issues with plugin and theme auto-updates.
2793
2793
*
2794
2794
* Though there is no way to 100% determine if plugin and theme auto-updates are configured
2795
2795
* correctly, a few educated guesses could be made to flag any conditions that would
@@ -2873,7 +2873,7 @@ public function detect_plugin_theme_auto_update_issues() {
2873
2873
}
2874
2874
2875
2875
/**
2876
- * Run a loopback test on our site.
2876
+ * Runs a loopback test on the site.
2877
2877
*
2878
2878
* Loopbacks are what WordPress uses to communicate with itself to start up WP_Cron, scheduled posts,
2879
2879
* make sure plugin or theme edits don't cause site failures and similar.
@@ -2945,7 +2945,7 @@ public function can_perform_loopback() {
2945
2945
}
2946
2946
2947
2947
/**
2948
- * Create a weekly cron event, if one does not already exist.
2948
+ * Creates a weekly cron event, if one does not already exist.
2949
2949
*
2950
2950
* @since 5.4.0
2951
2951
*/
@@ -2956,7 +2956,7 @@ public function maybe_create_scheduled_event() {
2956
2956
}
2957
2957
2958
2958
/**
2959
- * Run our scheduled event to check and update the latest site health status for the website.
2959
+ * Runs the scheduled event to check and update the latest site health status for the website.
2960
2960
*
2961
2961
* @since 5.4.0
2962
2962
*/
@@ -3203,7 +3203,7 @@ private function check_for_page_caching() {
3203
3203
}
3204
3204
3205
3205
/**
3206
- * Get page cache details.
3206
+ * Gets page cache details.
3207
3207
*
3208
3208
* @since 6.1.0
3209
3209
*
@@ -3252,7 +3252,7 @@ private function get_page_cache_detail() {
3252
3252
}
3253
3253
3254
3254
/**
3255
- * Get the threshold below which a response time is considered good.
3255
+ * Gets the threshold below which a response time is considered good.
3256
3256
*
3257
3257
* @since 6.1.0
3258
3258
*
0 commit comments