Changeset 50979
- Timestamp:
- 05/24/2021 07:23:05 PM (3 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r50082 r50979 274 274 */ 275 275 function test_check_wp_filesystem_method() { 276 // Make sure the `request_filesystem_credentials ` function is available during our RESTcall.276 // Make sure the `request_filesystem_credentials()` function is available during our REST API call. 277 277 if ( ! function_exists( 'request_filesystem_credentials' ) ) { 278 278 require_once ABSPATH . '/wp-admin/includes/file.php'; … … 325 325 } 326 326 327 // Make sure the `get_core_checksums ` function is available during our RESTcall.327 // Make sure the `get_core_checksums()` function is available during our REST API call. 328 328 if ( ! function_exists( 'get_core_checksums' ) ) { 329 329 require_once ABSPATH . '/wp-admin/includes/update.php'; -
trunk/src/wp-admin/includes/file.php
r50701 r50979 2370 2370 } 2371 2371 } 2372 2373 // Make sure the `submit_button()` function is available during the REST API call 2374 // from WP_Site_Health_Auto_Updates::test_check_wp_filesystem_method(). 2375 if ( ! function_exists( 'submit_button' ) ) { 2376 require_once ABSPATH . '/wp-admin/includes/template.php'; 2377 } 2372 2378 ?> 2373 2379 <p class="request-filesystem-credentials-action-buttons">
Note: See TracChangeset
for help on using the changeset viewer.