Make WordPress Core

Changeset 45440


Ignore:
Timestamp:
05/26/2019 06:08:55 PM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use consistent error messages when importing or exporting content.

Props ramiy.
Fixes #42269.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r44598 r45440  
    294294
    295295    if ( ! current_user_can( 'import' ) ) {
    296         wp_die( __( 'Sorry, you are not allowed to import content.' ) );
     296        wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) );
    297297    }
    298298
  • trunk/src/wp-admin/import.php

    r45140 r45440  
    1313
    1414if ( ! current_user_can( 'import' ) ) {
    15     wp_die( __( 'Sorry, you are not allowed to import content.' ) );
     15    wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) );
    1616}
    1717
Note: See TracChangeset for help on using the changeset viewer.