Changeset 54114
- Timestamp:
- 09/09/2022 08:45:07 AM (3 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r54113 r54114 1395 1395 1396 1396 /** 1397 * Add to or modifythe debug information shown on the Tools -> Site Health -> Info screen.1397 * Filters the debug information shown on the Tools -> Site Health -> Info screen. 1398 1398 * 1399 1399 * Plugin or themes may wish to introduce their own debug information without creating … … 1485 1485 1486 1486 /** 1487 * Format the information gathered for debugging, in a manner suitable for copying to a forum or support ticket.1487 * Formats the information gathered for debugging, in a manner suitable for copying to a forum or support ticket. 1488 1488 * 1489 1489 * @since 5.2.0 … … 1554 1554 1555 1555 /** 1556 * Fetch the total size of all the database tables for the active database user.1556 * Fetches the total size of all the database tables for the active database user. 1557 1557 * 1558 1558 * @since 5.2.0 … … 1575 1575 1576 1576 /** 1577 * Fetch the sizes of the WordPress directories: `wordpress` (ABSPATH), `plugins`, `themes`, and `uploads`.1577 * Fetches the sizes of the WordPress directories: `wordpress` (ABSPATH), `plugins`, `themes`, and `uploads`. 1578 1578 * Intended to supplement the array returned by `WP_Debug_Data::debug_data()`. 1579 1579 * -
trunk/src/wp-admin/includes/class-wp-site-health.php
r54113 r54114 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 … … 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 … … 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 … … 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 … … 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 … … 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 … … 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), … … 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 … … 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. … … 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 … … 971 971 972 972 /** 973 * Anarray 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 … … 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 … … 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 … … 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 … … 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 … … 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 … … 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, … … 1512 1512 1513 1513 /** 1514 * Test if yoursite 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 … … 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 … … 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 … … 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. … … 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 … … 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, … … 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 … … 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. … … 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 … … 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 … … 2604 2604 2605 2605 /** 2606 * Add or modifywhich 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 … … 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. … … 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 … … 2701 2701 2702 2702 /** 2703 * Populate ourlist 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 … … 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. … … 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. … … 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 … … 2874 2874 2875 2875 /** 2876 * Run a loopback test on oursite.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, … … 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 … … 2957 2957 2958 2958 /** 2959 * Run ourscheduled 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 … … 3204 3204 3205 3205 /** 3206 * Get page cache details.3206 * Gets page cache details. 3207 3207 * 3208 3208 * @since 6.1.0 … … 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
Note: See TracChangeset
for help on using the changeset viewer.