Changeset 9912 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/26/2008 11:35:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9903 r9912 3328 3328 } 3329 3329 3330 function screen_icon( ) {3330 function screen_icon($name = '') { 3331 3331 global $parent_file, $hook_suffix; 3332 3332 3333 if ( isset($parent_file) && !empty($parent_file) ) 3334 $name = substr($parent_file, 0, -4); 3335 else 3336 $name = str_replace(array('.php', '-new', '-add'), '', $hook_suffix); 3337 3333 if ( empty($name) ) { 3334 if ( isset($parent_file) && !empty($parent_file) ) 3335 $name = substr($parent_file, 0, -4); 3336 else 3337 $name = str_replace(array('.php', '-new', '-add'), '', $hook_suffix); 3338 } 3338 3339 unset($hook_suffix); 3339 3340 ?>
Note: See TracChangeset
for help on using the changeset viewer.