WordPress.org

Make WordPress Core

Ticket #34521: 34521-text-change-import.3.patch

File 34521-text-change-import.3.patch, 948 bytes (added by ramiy, 5 years ago)

Text change: import content

  • wp-admin/admin.php

     
    272272        $importer = $_GET['import'];
    273273
    274274        if ( ! current_user_can('import') )
    275                 wp_die(__('Sorry, you are not allowed to import.'));
     275                wp_die(__('Sorry, you are not allowed to import content.'));
    276276
    277277        if ( validate_file($importer) ) {
    278278                wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
  • wp-admin/import.php

     
    1212require_once( dirname( __FILE__ ) . '/admin.php' );
    1313
    1414if ( !current_user_can('import') )
    15         wp_die(__('Sorry, you are not allowed to import content in this site.'));
     15        wp_die(__('Sorry, you are not allowed to import content.'));
    1616
    1717$title = __('Import');
    1818