- Timestamp:
- 08/01/2023 04:08:16 PM (19 months ago)
- Location:
- branches/6.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.3
-
branches/6.3/src/wp-admin/includes/class-wp-site-health.php
r56211 r56342 2010 2010 ); 2011 2011 2012 if ( ! $wp_filesystem) {2012 if ( ! function_exists( 'WP_Filesystem' ) ) { 2013 2013 require_once ABSPATH . '/wp-admin/includes/file.php'; 2014 WP_Filesystem(); 2014 } 2015 2016 ob_start(); 2017 $credentials = request_filesystem_credentials( '' ); 2018 ob_end_clean(); 2019 2020 if ( false === $credentials || ! WP_Filesystem( $credentials ) ) { 2021 $result['status'] = 'recommended'; 2022 $result['label'] = __( 'Could not access filesystem' ); 2023 $result['description'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' ); 2024 return $result; 2015 2025 } 2016 2026
Note: See TracChangeset
for help on using the changeset viewer.