Commit 73bd837100 for wordpress.org
commit 73bd837100ffdbe779277287532dc1dc352df6f0
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Thu Dec 1 22:20:12 2022 +0000
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
diff --git a/wp-admin/options.php b/wp-admin/options.php
index 400a7b69ae..a1229ef8fd 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -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>'
)
);
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 9bfe237da2..4482b26620 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -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.