Changeset 55703 for trunk/src/wp-admin/includes/update-core.php
- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r55621 r55703 1412 1412 1413 1413 // Check if the language directory exists first. 1414 if ( ! @is_dir( $lang_dir ) && 0 === strpos( $lang_dir, ABSPATH ) ) {1414 if ( ! @is_dir( $lang_dir ) && str_starts_with( $lang_dir, ABSPATH ) ) { 1415 1415 // If it's within the ABSPATH we can handle it here, otherwise they're out of luck. 1416 1416 $wp_filesystem->mkdir( $to . str_replace( ABSPATH, '', $lang_dir ), FS_CHMOD_DIR );
Note: See TracChangeset
for help on using the changeset viewer.