Options, Meta APIs: Improve error messages in Options Management Administration Screen.

Props NekoJonez, costdev.
Fixes #57230.

Built from https://develop.svn.wordpress.org/trunk@54926


git-svn-id: http://core.svn.wordpress.org/trunk@54478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-12-01 22:20:12 +00:00
parent 1e63fe0f2c
commit 73bd837100
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ if ( 'update' === $action ) { // We are saving settings sent from a settings pag
wp_die(
sprintf(
/* translators: %s: The options page name. */
__( '<strong>Error:</strong> Options page %s not found in the allowed options list.' ),
__( '<strong>Error:</strong> The %s options page is not in the allowed options list.' ),
'<code>' . esc_html( $option_page ) . '</code>'
)
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-54925';
$wp_version = '6.2-alpha-54926';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.