Changeset 48168 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 06/25/2020 12:41:36 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r48121 r48168 179 179 * Run the SQL version checks. 180 180 * 181 * These values are used in later tests, but the part of preparing them is more easily managed early182 * in the class for ease of access and discovery.181 * These values are used in later tests, but the part of preparing them is more easily managed 182 * early in the class for ease of access and discovery. 183 183 * 184 184 * @since 5.2.0 … … 213 213 * Test if `wp_version_check` is blocked. 214 214 * 215 * It's possible to block updates with the `wp_version_check` filter, but this can't be checked during an216 * AJAXcall, as the filter is never introduced then.217 * 218 * This filter overrides a normal page request if it's made by an admin through the A JAX call with the219 * right query argument to check for this.215 * It's possible to block updates with the `wp_version_check` filter, but this can't be checked 216 * during an Ajax call, as the filter is never introduced then. 217 * 218 * This filter overrides a normal page request if it's made by an admin through the Ajax call 219 * with the right query argument to check for this. 220 220 * 221 221 * @since 5.2.0 … … 234 234 * Tests for WordPress version and outputs it. 235 235 * 236 * Gives various results depending on what kind of updates are available, if any, to encourage the237 * user to install security updates as a priority.236 * Gives various results depending on what kind of updates are available, if any, to encourage 237 * the user to install security updates as a priority. 238 238 * 239 239 * @since 5.2.0 … … 335 335 * Test if plugins are outdated, or unnecessary. 336 336 * 337 * The tests checks if your plugins are up to date, and encourages you to remove any that are not in use. 337 * The tests checks if your plugins are up to date, and encourages you to remove any 338 * that are not in use. 338 339 * 339 340 * @since 5.2.0 … … 466 467 * Test if themes are outdated, or unnecessary. 467 468 * 468 * The tests checks if your site has a default theme (to fall back on if there is a need), if your themes 469 * are up to date and, finally, encourages you to remove any themes that are not needed. 469 * Сhecks if your site has a default theme (to fall back on if there is a need), 470 * if your themes are up to date and, finally, encourages you to remove any themes 471 * that are not needed. 470 472 * 471 473 * @since 5.2.0 … … 1409 1411 * Test if debug information is enabled. 1410 1412 * 1411 * When WP_DEBUG is enabled, errors and information may be disclosed to site visitors, or it may be1412 * logged to a publicly accessible file.1413 * 1414 * Debugging is also frequently left enabled after looking for errors on a site, as site owners do1415 * not understand the implications of this.1413 * When WP_DEBUG is enabled, errors and information may be disclosed to site visitors, 1414 * or logged to a publicly accessible file. 1415 * 1416 * Debugging is also frequently left enabled after looking for errors on a site, 1417 * as site owners do not understand the implications of this. 1416 1418 * 1417 1419 * @since 5.2.0 … … 1590 1592 * Test if scheduled events run as intended. 1591 1593 * 1592 * If scheduled events are not running, this may indicate something with WP_Cron is not working as intended,1593 * or that there are orphaned events hanging around from older code.1594 * If scheduled events are not running, this may indicate something with WP_Cron is not working 1595 * as intended, or that there are orphaned events hanging around from older code. 1594 1596 * 1595 1597 * @since 5.2.0 … … 1662 1664 * Test if WordPress can run automated background updates. 1663 1665 * 1664 * Background updates in WordPress are primarily used for minor releases and security updates. It's important 1665 * to either have these working, or be aware that they are intentionally disabled for whatever reason. 1666 * Background updates in WordPress are primarily used for minor releases and security updates. 1667 * It's important to either have these working, or be aware that they are intentionally disabled 1668 * for whatever reason. 1666 1669 * 1667 1670 * @since 5.2.0 … … 1735 1738 * Test if loopbacks work as expected. 1736 1739 * 1737 * A loopback is when WordPress queries itself, for example to start a new WP_Cron instance, or when editing a 1738 * plugin or theme. This has shown itself to be a recurring issue as code can very easily break this interaction. 1740 * A loopback is when WordPress queries itself, for example to start a new WP_Cron instance, 1741 * or when editing a plugin or theme. This has shown itself to be a recurring issue, 1742 * as code can very easily break this interaction. 1739 1743 * 1740 1744 * @since 5.2.0 … … 2064 2068 * @param array $test_type { 2065 2069 * An associative array, where the `$test_type` is either `direct` or 2066 * `async`, to declare if the test should run via A JAXcalls after page load.2070 * `async`, to declare if the test should run via Ajax calls after page load. 2067 2071 * 2068 2072 * @type array $identifier { … … 2072 2076 * 2073 2077 * @type string $label A friendly label for your test to identify it by. 2074 * @type mixed $test A callable to perform a direct test, or a string A JAXaction to be called2078 * @type mixed $test A callable to perform a direct test, or a string Ajax action to be called 2075 2079 * to perform an async test. 2076 2080 * } … … 2149 2153 * Check if any scheduled tasks have been missed. 2150 2154 * 2151 * Returns a boolean value of `true` if a scheduled task has been missed and ends processing. If the list of 2152 * crons is an instance of WP_Error, return the instance instead of a boolean value. 2155 * Returns a boolean value of `true` if a scheduled task has been missed and ends processing. 2156 * 2157 * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value. 2153 2158 * 2154 2159 * @since 5.2.0 … … 2174 2179 * Check if any scheduled tasks are late. 2175 2180 * 2176 * Returns a boolean value of `true` if a scheduled task is late and ends processing. If the list of 2177 * crons is an instance of WP_Error, return the instance instead of a boolean value. 2181 * Returns a boolean value of `true` if a scheduled task is late and ends processing. 2182 * 2183 * If the list of crons is an instance of WP_Error, return the instance instead of a boolean value. 2178 2184 * 2179 2185 * @since 5.3.0
Note: See TracChangeset
for help on using the changeset viewer.