From 2c018e6f0576d881654cc94454be2883b1570b1c Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 1 Dec 2022 22:18:50 +0000 Subject: [PATCH] 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 --- src/wp-admin/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php index 400a7b69ae..a1229ef8fd 100644 --- a/src/wp-admin/options.php +++ b/src/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. */ - __( 'Error: Options page %s not found in the allowed options list.' ), + __( 'Error: The %s options page is not in the allowed options list.' ), '' . esc_html( $option_page ) . '' ) );