diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index 7f667d373d..f17bc2c10e 100644 --- a/src/wp-admin/customize.php +++ b/src/wp-admin/customize.php @@ -15,7 +15,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'customize' ) ) { wp_die( '

' . __( 'Cheatin’ uh?' ) . '

' . - '

' . __( 'You are not allowed to customize the appearance of this site.' ) . '

', + '

' . __( 'You are not allowed to customize this site.' ) . '

', 403 ); } diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 8057e57ae0..d414416624 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -387,7 +387,7 @@ final class WP_Customize_Manager { show_admin_bar( false ); if ( ! current_user_can( 'customize' ) ) { - $this->wp_die( -1, __( 'You are not allowed to customize the appearance of this site.' ) ); + $this->wp_die( -1, __( 'You are not allowed to customize this site.' ) ); } $this->original_stylesheet = get_stylesheet(); diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 66080a835b..98b8a17252 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -443,7 +443,7 @@ function wp_default_scripts( &$scripts ) { 'cancel' => __( 'Cancel' ), 'close' => __( 'Close' ), 'cheatin' => __( 'Cheatin’ uh?' ), - 'notAllowed' => __( 'You are not allowed to customize the appearance of this site.' ), + 'notAllowed' => __( 'You are not allowed to customize this site.' ), 'previewIframeTitle' => __( 'Site Preview' ), 'loginIframeTitle' => __( 'Session expired' ), 'collapseSidebar' => __( 'Collapse Sidebar' ),