Make WordPress Core


Ignore:
Timestamp:
03/18/2010 05:32:27 PM (15 years ago)
Author:
nacin
Message:

Add deprecated notices for Options > Misc settings registrations. see #12437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r13745 r13749  
    29812981    global $wp_settings_sections;
    29822982
    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.' ) );
    29842985        $page = 'general';
     2986    }
    29852987
    29862988    if ( !isset($wp_settings_sections) )
     
    30193021    global $wp_settings_fields;
    30203022
    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.' ) );
    30223025        $page = 'general';
     3026    }
    30233027
    30243028    if ( !isset($wp_settings_fields) )
Note: See TracChangeset for help on using the changeset viewer.