Changeset 18780
- Timestamp:
- 09/26/2011 09:11:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r18779 r18780 2338 2338 2339 2339 function set_parentage( $parent_file ) { 2340 $ current_screen->parent_file = $parent_file;2341 $ current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file);2342 $ current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base);2340 $this->parent_file = $parent_file; 2341 $this->parent_base = preg_replace('/\?.*$/', '', $parent_file); 2342 $this->parent_base = str_replace('.php', '', $current_screen->parent_base); 2343 2343 } 2344 2344
Note: See TracChangeset
for help on using the changeset viewer.