From dd7956c674431adcca2261496383426c5c9a4639 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 May 2019 18:09:52 +0000 Subject: [PATCH] I18N: Use consistent error messages when importing or exporting content. Props ramiy. Fixes #42269. Built from https://develop.svn.wordpress.org/trunk@45440 git-svn-id: http://core.svn.wordpress.org/trunk@45251 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin.php | 2 +- wp-admin/import.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin.php b/wp-admin/admin.php index bac33a188a..5b68bc593b 100644 --- a/wp-admin/admin.php +++ b/wp-admin/admin.php @@ -293,7 +293,7 @@ if ( isset( $plugin_page ) ) { $importer = $_GET['import']; if ( ! current_user_can( 'import' ) ) { - wp_die( __( 'Sorry, you are not allowed to import content.' ) ); + wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) ); } if ( validate_file( $importer ) ) { diff --git a/wp-admin/import.php b/wp-admin/import.php index 14555ec597..511b000eda 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -12,7 +12,7 @@ define( 'WP_LOAD_IMPORTERS', true ); require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'import' ) ) { - wp_die( __( 'Sorry, you are not allowed to import content.' ) ); + wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) ); } $title = __( 'Import' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1b3e119bbe..1112e0b443 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45439'; +$wp_version = '5.3-alpha-45440'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.