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.php

    r19111 r19119  
    168168    );
    169169
    170     get_current_screen()->add_help_sidebar(
     170    get_current_screen()->set_help_sidebar(
    171171    '<p><strong>' . __('For more information:') . '</strong></p>' .
    172172    '<p>' . __('<a href="http://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' .
     
    180180    );
    181181
    182     get_current_screen()->add_help_sidebar(
     182    get_current_screen()->set_help_sidebar(
    183183    '<p><strong>' . __('For more information:') . '</strong></p>' .
    184184    '<p>' . __('<a href="http://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>') . '</p>' .
Note: See TracChangeset for help on using the changeset viewer.