diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 25acd6f9ea..5cb0f49211 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -177,13 +177,13 @@ function validate_file_to_edit( $file, $allowed_files = '' ) { switch ( $code ) { case 1 : - wp_die( __('Sorry, can’t edit files with “..” in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' )); + wp_die( __( 'Sorry, that file cannot be edited.' ) ); //case 2 : // wp_die( __('Sorry, can’t call files with their real path.' )); case 3 : - wp_die( __('Sorry, that file cannot be edited.' )); + wp_die( __( 'Sorry, that file cannot be edited.' ) ); } }