Changeset 51951 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 10/29/2021 04:51:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r51919 r51951 1979 1979 1980 1980 if ( $plugins_dir_exists && ! $plugins_dir_is_writable && $themes_dir_exists && ! $themes_dir_is_writable ) { 1981 $result['status'] 1982 $result['label'] 1981 $result['status'] = 'critical'; 1982 $result['label'] = sprintf( 1983 1983 /* translators: %s: temp-backup */ 1984 1984 __( 'Plugins and themes %s directories exist but are not writable' ), … … 1995 1995 1996 1996 if ( $plugins_dir_exists && ! $plugins_dir_is_writable ) { 1997 $result['status'] 1998 $result['label'] 1997 $result['status'] = 'critical'; 1998 $result['label'] = sprintf( 1999 1999 /* translators: %s: temp-backup */ 2000 2000 __( 'Plugins %s directory exists but is not writable' ), … … 2010 2010 2011 2011 if ( $themes_dir_exists && ! $themes_dir_is_writable ) { 2012 $result['status'] 2013 $result['label'] 2012 $result['status'] = 'critical'; 2013 $result['label'] = sprintf( 2014 2014 /* translators: %s: temp-backup */ 2015 2015 __( 'Themes %s directory exists but is not writable' ), … … 2025 2025 2026 2026 if ( ( ! $plugins_dir_exists || ! $themes_dir_exists ) && $backup_dir_exists && ! $backup_dir_is_writable ) { 2027 $result['status'] 2028 $result['label'] 2027 $result['status'] = 'critical'; 2028 $result['label'] = sprintf( 2029 2029 /* translators: %s: temp-backup */ 2030 2030 __( 'The %s directory exists but is not writable' ), … … 2040 2040 2041 2041 if ( ! $backup_dir_exists && $upgrade_dir_exists && ! $upgrade_dir_is_writable ) { 2042 $result['status'] 2043 $result['label'] 2042 $result['status'] = 'critical'; 2043 $result['label'] = sprintf( 2044 2044 /* translators: %s: upgrade */ 2045 2045 __( 'The %s directory exists but is not writable' ), … … 2055 2055 2056 2056 if ( ! $upgrade_dir_exists && ! $wp_filesystem->is_writable( $wp_content ) ) { 2057 $result['status'] 2058 $result['label'] 2057 $result['status'] = 'critical'; 2058 $result['label'] = sprintf( 2059 2059 /* translators: %s: upgrade */ 2060 2060 __( 'The %s directory cannot be created' ),
Note: See TracChangeset
for help on using the changeset viewer.