Don't use `<code>` in translation strings in `wp-admin/options.php`.
Props ramiy, wonderboymusic. Fixes #31861. Built from https://develop.svn.wordpress.org/trunk@34315 git-svn-id: http://core.svn.wordpress.org/trunk@34279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d1bdd59183
commit
33127a3f59
|
@ -194,8 +194,15 @@ if ( 'update' == $action ) {
|
|||
|
||||
if ( $options ) {
|
||||
foreach ( $options as $option ) {
|
||||
if ( $unregistered )
|
||||
_deprecated_argument( 'options.php', '2.7', sprintf( __( 'The <code>%1$s</code> 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' ),
|
||||
'<code>' . $option . '</code>'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
$option = trim( $option );
|
||||
$value = null;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34314';
|
||||
$wp_version = '4.4-alpha-34315';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue