Make WordPress Core

Ticket #31861: 31861.patch

File 31861.patch, 854 bytes (added by ramiy, 10 years ago)
  • wp-admin/options.php

     
    180180        if ( $options ) {
    181181                foreach ( $options as $option ) {
    182182                        if ( $unregistered )
    183                                 _deprecated_argument( 'options.php', '2.7', sprintf( __( 'The <code>%1$s</code> setting is unregistered. Unregistered settings are deprecated. See http://codex.wordpress.org/Settings_API' ), $option, $option_page ) );
     183                                _deprecated_argument( 'options.php', '2.7',
     184                                        sprintf(
     185                                                /* translators: the option/setting */
     186                                                __( 'The %s setting is unregistered. Unregistered settings are deprecated. See http://codex.wordpress.org/Settings_API' ),
     187                                                '<code>' . $option . '</code>'
     188                                        )
     189                                );
    184190
    185191                        $option = trim( $option );
    186192                        $value = null;