Changeset 49266
- Timestamp:
- 10/21/2020 02:53:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r49241 r49266 2203 2203 * 2204 2204 * @since 5.2.0 2205 * @since 5.6.0 Added the `async_direct_test` array key. 2205 2206 * 2206 2207 * @param array $test_type { … … 2213 2214 * to avoid any collisions between tests. 2214 2215 * 2215 * @type string $label 2216 * @type mixed $test A callable to perform a direct test, or a string AJAX action to be2217 * called to perform an async test.2218 * @type boolean $has_rest 2219 * @type callable $async_direct_test A manner of directly calling the test marked as asynchronous, as2220 * the scheduled event can not authenticate, and endpoints may require2221 * authentication.2216 * @type string $label A friendly label for your test to identify it by. 2217 * @type mixed $test A callable to perform a direct test, or a string AJAX action 2218 * to be called to perform an async test. 2219 * @type boolean $has_rest Optional. Denote if `$test` has a REST API endpoint. 2220 * @type callable $async_direct_test A manner of directly calling the test marked as asynchronous, 2221 * as the scheduled event can not authenticate, and endpoints 2222 * may require authentication. 2222 2223 * } 2223 2224 * }
Note: See TracChangeset
for help on using the changeset viewer.