From 7eb03179684ca68fe0f1e45bf3eaf690c6d4fe88 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Fri, 18 Sep 2015 20:42:20 +0000 Subject: [PATCH] Don't use `` in translation strings in `wp-admin/options.php`. Props ramiy, wonderboymusic. Fixes #31861. git-svn-id: https://develop.svn.wordpress.org/trunk@34315 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/options.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php index a4809cf618..6bad0fd61f 100644 --- a/src/wp-admin/options.php +++ b/src/wp-admin/options.php @@ -194,8 +194,15 @@ if ( 'update' == $action ) { if ( $options ) { foreach ( $options as $option ) { - if ( $unregistered ) - _deprecated_argument( 'options.php', '2.7', sprintf( __( 'The %1$s setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API' ), $option, $option_page ) ); + if ( $unregistered ) { + _deprecated_argument( 'options.php', '2.7', + sprintf( + /* translators: %s: the option/setting */ + __( 'The %s setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API' ), + '' . $option . '' + ) + ); + } $option = trim( $option ); $value = null;