Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.

git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2011-09-26 21:03:38 +00:00
parent 3009977ccd
commit 0b3d90ee53
10 changed files with 335 additions and 102 deletions

View File

@@ -111,9 +111,8 @@ do_action('in_admin_header');
<?php
unset($title_class, $blog_name, $total_update_count, $update_title);
$current_screen->parent_file = $parent_file;
$current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file);
$current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base);
$current_screen->set_parentage( $parent_file );
?>
<div id="wpbody-content">