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

Props NekoJonez, costdev.
Fixes #57230.


git-svn-id: https://develop.svn.wordpress.org/trunk@54926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-12-01 22:18:50 +00:00
parent d27a075613
commit 2c018e6f05
+1 -1
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>'
)
);