WordPress.org

Make WordPress Core

Changeset 18880


Ignore:
Timestamp:
10/04/2011 11:10:02 PM (10 years ago)
Author:
azaozz
Message:

Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785

File:
1 edited

Legend:

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

    r18874 r18880  
    835835 */
    836836function add_contextual_help($screen, $help) {
    837     _deprecated_function( __FUNCTION__, '3.3', '$current_screen->add_help_tab()' );
     837    //_deprecated_function( __FUNCTION__, '3.3', '$current_screen->add_help_tab()' );
    838838
    839839    global $_wp_contextual_help;
     
    859859 */
    860860function add_screen_option( $option, $args = array() ) {
    861     _deprecated_function( __FUNCTION__, '3.3', '$current_screen->add_option()' );
     861    //_deprecated_function( __FUNCTION__, '3.3', '$current_screen->add_option()' );
    862862
    863863    $current_screen = get_current_screen();
     
    880880 */
    881881function meta_box_prefs($screen) {
    882     _deprecated_function( __FUNCTION__, '3.3', '$current_screen->render_metabox_prefs()' );
     882    //_deprecated_function( __FUNCTION__, '3.3', '$current_screen->render_metabox_prefs()' );
    883883
    884884    $current_screen = get_current_screen();
     
    891891
    892892function get_screen_icon( $screen = '' ) {
    893     _deprecated_function( __FUNCTION__, '3.3', '$current_screen->get_screen_icon()' );
     893    //_deprecated_function( __FUNCTION__, '3.3', '$current_screen->get_screen_icon()' );
    894894
    895895    $current_screen = get_current_screen();
Note: See TracChangeset for help on using the changeset viewer.