Changeset 6026 for trunk/wp-includes/theme.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/theme.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r5867 r6026 73 73 74 74 $theme_data = implode( '', file( $theme_file ) ); 75 $theme_data = str_replace ( '\r', '\n', $theme_data ); 75 $theme_data = str_replace ( '\r', '\n', $theme_data ); 76 76 preg_match( '|Theme Name:(.*)$|mi', $theme_data, $theme_name ); 77 77 preg_match( '|Theme URI:(.*)$|mi', $theme_data, $theme_uri ); … … 210 210 $parent_dir = dirname(dirname($theme_file)); 211 211 if ( file_exists("$theme_root/$parent_dir/$template/index.php") ) { 212 $template = "$parent_dir/$template"; 212 $template = "$parent_dir/$template"; 213 213 } else { 214 214 $wp_broken_themes[$name] = array('Name' => $name, 'Title' => $title, 'Description' => __('Template is missing.'));
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)