From f928bc51eb9f1fe1ee3bf7d3a931de27cd4696cc Mon Sep 17 00:00:00 2001 From: Andrew Ozz 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: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 {