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:
Dominik Schilling
2016-07-07 10:53:00 +00:00
parent eff1d5f58e
commit fb3b0a9f8b
2 changed files with 6 additions and 4 deletions

View File

@@ -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');