Changeset 46210
- Timestamp:
- 09/20/2019 08:45:58 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/noop.php
r46206 r46210 96 96 function get_file( $path ) { 97 97 98 if ( function_exists( 'realpath' ) ) { 99 $path = realpath( $path ); 100 } 98 $path = realpath( $path ); 101 99 102 100 if ( ! $path || ! @is_file( $path ) ) { -
trunk/src/wp-includes/class-wp-editor.php
r45932 r46210 492 492 $path = WP_CONTENT_DIR . $path . '/langs/'; 493 493 494 if ( function_exists( 'realpath' ) ) { 495 $path = trailingslashit( realpath( $path ) ); 496 } 494 $path = trailingslashit( realpath( $path ) ); 497 495 498 496 if ( @is_file( $path . $mce_locale . '.js' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.