Make WordPress Core


Ignore:
Timestamp:
07/07/2016 10:53:00 AM (8 years ago)
Author:
ocean90
Message:

Import: Merge two similar strings.

Props ramiy.
See #34521.

File:
1 edited

Legend:

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

    r37914 r37998  
    272272    $importer = $_GET['import'];
    273273
    274     if ( ! current_user_can('import') )
    275         wp_die(__('Sorry, you are not allowed to import.'));
     274    if ( ! current_user_can( 'import' ) ) {
     275        wp_die( __( 'Sorry, you are not allowed to import content.' ) );
     276    }
    276277
    277278    if ( validate_file($importer) ) {
Note: See TracChangeset for help on using the changeset viewer.