mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Text Changes: Merge and clarify some permission error strings in the admin.
See #38857. git-svn-id: https://develop.svn.wordpress.org/trunk@39308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -47,7 +47,7 @@ if ( empty($option_page) ) {
|
||||
if ( ! current_user_can( $capability ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to manage these items.' ) . '</p>',
|
||||
'<p>' . __( 'Sorry, you are not allowed to manage these options.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user