mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Import: Merge two similar strings.
Props ramiy. See #34521. git-svn-id: https://develop.svn.wordpress.org/trunk@37998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,8 +11,9 @@ define('WP_LOAD_IMPORTERS', true);
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
if ( !current_user_can('import') )
|
||||
wp_die(__('Sorry, you are not allowed to import content in this site.'));
|
||||
if ( ! current_user_can( 'import' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to import content.' ) );
|
||||
}
|
||||
|
||||
$title = __('Import');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user