Changeset 56235
- Timestamp:
- 07/14/2023 08:57:53 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r56177 r56235 512 512 if ( ! in_array( $name, $loaded_langs, true ) ) { 513 513 $path = str_replace( content_url(), '', $plugurl ); 514 $path = WP_CONTENT_DIR . $path . '/langs/'; 515 516 $path = trailingslashit( realpath( $path ) ); 514 $path = realpath( WP_CONTENT_DIR . $path . '/langs/' ); 515 516 if ( ! $path ) { 517 continue; 518 } 519 520 $path = trailingslashit( $path ); 517 521 518 522 if ( @is_file( $path . $mce_locale . '.js' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.