Ticket #34521: 34521-text-change-import.3.patch
| File 34521-text-change-import.3.patch, 948 bytes (added by , 10 years ago) |
|---|
-
wp-admin/admin.php
272 272 $importer = $_GET['import']; 273 273 274 274 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.')); 276 276 277 277 if ( validate_file($importer) ) { 278 278 wp_redirect( admin_url( 'import.php?invalid=' . $importer ) ); -
wp-admin/import.php
12 12 require_once( dirname( __FILE__ ) . '/admin.php' ); 13 13 14 14 if ( !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.')); 16 16 17 17 $title = __('Import'); 18 18