mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,7 @@ if ( 'post' == $post_type ) {
|
||||
'content' => $discussion_settings,
|
||||
) );
|
||||
|
||||
get_current_screen()->add_help_sidebar(
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'options-writing.php') . '</p>' .
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __('<a href="http://codex.wordpress.org/Posts_Add_New_Screen" target="_blank">Documentation on Writing and Editing Posts</a>') . '</p>' .
|
||||
@@ -229,7 +229,7 @@ if ( 'post' == $post_type ) {
|
||||
'content' => $page_attributes,
|
||||
) );
|
||||
|
||||
get_current_screen()->add_help_sidebar(
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __('<a href="http://codex.wordpress.org/Pages_Add_New_Screen" target="_blank">Documentation on Adding New Pages</a>') . '</p>' .
|
||||
'<p>' . __('<a href="http://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages" target="_blank">Documentation on Editing Pages</a>') . '</p>' .
|
||||
|
||||
Reference in New Issue
Block a user