Changeset 12226
- Timestamp:
- 11/19/2009 08:45:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r12216 r12226 366 366 } 367 367 368 //Make unique and remove duplicates when stylesheet and template are the same i.e. most themes 369 $template_files = array_unique($template_files); 370 $stylesheet_files = array_unique($stylesheet_files); 371 368 372 $template_dir = dirname($template_files[0]); 369 373 $stylesheet_dir = dirname($stylesheet_files[0]); … … 596 600 @closedir( $theme_dir ); 597 601 } 598 599 602 return $theme_files; 600 603 }
Note: See TracChangeset
for help on using the changeset viewer.