Make WordPress Core


Ignore:
Timestamp:
05/26/2019 12:34:09 PM (6 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/plugin-editor.php

    r45140 r45431  
    106106
    107107if ( ! 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.' ) ) );
    109109} else {
    110110    // Get the extension of the file
Note: See TracChangeset for help on using the changeset viewer.