Changeset 45431
- Timestamp:
- 05/26/2019 12:34:09 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
-
includes/file.php (modified) (1 diff)
-
plugin-editor.php (modified) (1 diff)
-
theme-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r45394 r45431 461 461 // Ensure file is real. 462 462 if ( ! is_file( $real_file ) ) { 463 return new WP_Error( 'file_does_not_exist', __( ' No such file exists! Double check the name and try again.' ) );463 return new WP_Error( 'file_does_not_exist', __( 'File does not exist! Please double check the name and try again.' ) ); 464 464 } 465 465 -
trunk/src/wp-admin/plugin-editor.php
r45140 r45431 106 106 107 107 if ( ! is_file( $real_file ) ) { 108 wp_die( sprintf( '<p>%s</p>', __( ' No such file exists! Double check the name and try again.' ) ) );108 wp_die( sprintf( '<p>%s</p>', __( 'File does not exist! Please double check the name and try again.' ) ) ); 109 109 } else { 110 110 // Get the extension of the file -
trunk/src/wp-admin/theme-editor.php
r45140 r45431 273 273 <?php 274 274 if ( $error ) : 275 echo '<div class="error"><p>' . __( ' Oops, no such file exists! Double check the name and try again, merci.' ) . '</p></div>';275 echo '<div class="error"><p>' . __( 'File does not exist! Please double check the name and try again.' ) . '</p></div>'; 276 276 else : 277 277 ?>
Note: See TracChangeset
for help on using the changeset viewer.