Make WordPress Core


Ignore:
Timestamp:
10/03/2011 04:00:57 AM (14 years ago)
Author:
azaozz
Message:

Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r18864 r18867  
    3838do_action('do_meta_boxes', 'link', 'side', $link);
    3939
    40 add_screen_option('layout_columns', array('max' => 2, 'default' => 'auto') );
     40$current_screen->add_option('layout_columns', array('max' => 2, 'default' => 'auto') );
    4141
    42 $current_screen->add_screen_options(
     42$current_screen->add_option_context(
    4343'<p>test</p>'
    4444);
Note: See TracChangeset for help on using the changeset viewer.