Changeset 34315 for trunk/src/wp-admin/options.php
- Timestamp:
- 09/18/2015 08:42:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r33863 r34315 195 195 if ( $options ) { 196 196 foreach ( $options as $option ) { 197 if ( $unregistered ) 198 _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 ) ); 197 if ( $unregistered ) { 198 _deprecated_argument( 'options.php', '2.7', 199 sprintf( 200 /* translators: %s: the option/setting */ 201 __( 'The %s setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API' ), 202 '<code>' . $option . '</code>' 203 ) 204 ); 205 } 199 206 200 207 $option = trim( $option );
Note: See TracChangeset
for help on using the changeset viewer.