mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Customizer: Remove the 'appearance' reference from permission error messages added in [33857], [33889], and [33902].
Props Frozzare. Fixes #36466. git-svn-id: https://develop.svn.wordpress.org/trunk@37197 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -15,7 +15,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
if ( ! current_user_can( 'customize' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<p>' . __( 'You are not allowed to customize the appearance of this site.' ) . '</p>',
|
||||
'<p>' . __( 'You are not allowed to customize this site.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user