Make WordPress Core


Ignore:
Timestamp:
11/02/2011 08:14:10 PM (13 years ago)
Author:
nacin
Message:

s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.

File:
1 edited

Legend:

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

    r19110 r19119  
    204204    ) );
    205205
    206     get_current_screen()->add_help_sidebar(
     206    get_current_screen()->set_help_sidebar(
    207207            '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'options-writing.php') . '</p>' .
    208208            '<p><strong>' . __('For more information:') . '</strong></p>' .
     
    230230    ) );
    231231
    232     get_current_screen()->add_help_sidebar(
     232    get_current_screen()->set_help_sidebar(
    233233            '<p><strong>' . __('For more information:') . '</strong></p>' .
    234234            '<p>' . __('<a href="http://codex.wordpress.org/Pages_Add_New_Screen" target="_blank">Documentation on Adding New Pages</a>') . '</p>' .
Note: See TracChangeset for help on using the changeset viewer.