Changeset 12345 for trunk/wp-includes/theme.php
- Timestamp:
- 12/08/2009 09:29:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r12339 r12345 369 369 $template_files = array_unique($template_files); 370 370 $stylesheet_files = array_unique($stylesheet_files); 371 371 372 372 $template_dir = dirname($template_files[0]); 373 373 $stylesheet_dir = dirname($stylesheet_files[0]); … … 503 503 function register_theme_directory( $directory) { 504 504 global $wp_theme_directories; 505 505 506 506 /* If this folder does not exist, return and do not register */ 507 507 if ( !file_exists( $directory ) ) … … 510 510 else 511 511 $registered_directory = $directory; 512 512 513 513 /* If this folder does not exist, return and do not register */ 514 514 if ( !file_exists( $registered_directory ) ) … … 625 625 $theme_root = WP_CONTENT_DIR . '/themes'; 626 626 } 627 627 628 628 return apply_filters( 'theme_root', $theme_root ); 629 629 }
Note: See TracChangeset
for help on using the changeset viewer.