Changeset 15178 for trunk/wp-admin/includes/template.php
- Timestamp:
- 06/09/2010 04:52:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r15175 r15178 3910 3910 $current_screen = array('id' => $current_screen, 'base' => $current_screen); 3911 3911 } else { 3912 if ( false !== strpos($id, '-') ) 3912 $id = sanitize_key($id); 3913 if ( false !== strpos($id, '-') ) { 3913 3914 list( $id, $typenow ) = explode('-', $id, 2); 3915 if ( is_taxonomy($typenow) ) { 3916 $id = 'edit-tags'; 3917 $taxnow = $typenow; 3918 $typenow = ''; 3919 } 3920 } 3914 3921 $current_screen = array('id' => $id, 'base' => $id); 3915 3922 }
Note: See TracChangeset
for help on using the changeset viewer.