I18N: Merge duplicate "not allowed to manage options" strings.
Props ramiy. Fixes #42271. Built from https://develop.svn.wordpress.org/trunk@45439 git-svn-id: http://core.svn.wordpress.org/trunk@45250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b97a2d4366
commit
702f7d4e8d
|
@ -47,7 +47,7 @@ if ( empty( $option_page ) ) {
|
||||||
if ( ! current_user_can( $capability ) ) {
|
if ( ! current_user_can( $capability ) ) {
|
||||||
wp_die(
|
wp_die(
|
||||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||||
'<p>' . __( 'Sorry, you are not allowed to manage these options.' ) . '</p>',
|
'<p>' . __( 'Sorry, you are not allowed to manage options for this site.' ) . '</p>',
|
||||||
403
|
403
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45438';
|
$wp_version = '5.3-alpha-45439';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue