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;