Make WordPress Core


Ignore:
Timestamp:
09/26/2011 09:03:38 PM (13 years ago)
Author:
koopersmith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r18754 r18779  
    112112unset($title_class, $blog_name, $total_update_count, $update_title);
    113113
    114 $current_screen->parent_file = $parent_file;
    115 $current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file);
    116 $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base);
     114$current_screen->set_parentage( $parent_file );
     115
    117116?>
    118117
Note: See TracChangeset for help on using the changeset viewer.