Make WordPress Core


Ignore:
Timestamp:
05/26/2019 12:34:09 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Administration: Merge similar "file does not exist" messages in plugin and theme editors.

Props ramiy.
Fixes #47249.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r45394 r45431  
    461461        // Ensure file is real.
    462462        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.' ) );
    464464        }
    465465
Note: See TracChangeset for help on using the changeset viewer.