Make WordPress Core


Ignore:
Timestamp:
10/03/2011 04:00:57 AM (13 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/nav-menus.php

    r18864 r18867  
    446446    $messages[] = '<div id="message" class="updated"><p>' . __('The current theme does not natively support menus, but you can use the &#8220;Custom Menu&#8221; widget to add any menus you create here to the theme&#8217;s sidebar.') . '</p></div>';
    447447
    448 $current_screen->add_screen_options(
     448$current_screen->add_option_context(
    449449'<p>test</p>'
    450450);
Note: See TracChangeset for help on using the changeset viewer.