From 0df31fc3c4fb100a3dc4ad8abb2080bd9be82e22 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sat, 1 Oct 2011 21:18:04 +0000 Subject: [PATCH] Separate the tab title from the help section title, see #18690 git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/screen.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index e215942be0..4693b7bc36 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -598,6 +598,7 @@ final class WP_Screen { public function add_help_tab( $args ) { $defaults = array( 'title' => false, + 'section' => false, 'id' => false, 'content' => '', 'callback' => false, @@ -691,8 +692,10 @@ final class WP_Screen { ?>
-

' . esc_html( $tab['section'] ) . ''; + // Print tab content. echo $tab['content']; @@ -893,4 +896,4 @@ final class WP_Screen {