Changeset 13749
- Timestamp:
- 03/18/2010 05:32:27 PM (15 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r13745 r13749 1425 1425 */ 1426 1426 function register_setting($option_group, $option_name, $sanitize_callback = '') { 1427 if ( 'misc' == $option_group ) 1428 _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) ); 1427 1429 return add_option_update_handler($option_group, $option_name, $sanitize_callback); 1428 1430 } -
trunk/wp-admin/includes/template.php
r13745 r13749 2981 2981 global $wp_settings_sections; 2982 2982 2983 if ( 'misc' == $page ) 2983 if ( 'misc' == $page ) { 2984 _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) ); 2984 2985 $page = 'general'; 2986 } 2985 2987 2986 2988 if ( !isset($wp_settings_sections) ) … … 3019 3021 global $wp_settings_fields; 3020 3022 3021 if ( 'misc' == $page ) 3023 if ( 'misc' == $page ) { 3024 _deprecated_argument( __FUNCTION__, '3.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) ); 3022 3025 $page = 'general'; 3026 } 3023 3027 3024 3028 if ( !isset($wp_settings_fields) )
Note: See TracChangeset
for help on using the changeset viewer.