Changeset 5630 for trunk/wp-includes/theme.php
- Timestamp:
- 06/02/2007 12:02:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r5581 r5630 74 74 $theme_data = implode( '', file( $theme_file ) ); 75 75 $theme_data = str_replace ( '\r', '\n', $theme_data ); 76 preg_match( '|Theme Name:(.*) |i', $theme_data, $theme_name );77 preg_match( '|Theme URI:(.*) |i', $theme_data, $theme_uri );78 preg_match( '|Description:(.*) |i', $theme_data, $description );79 preg_match( '|Author:(.*) |i', $theme_data, $author_name );80 preg_match( '|Author URI:(.*) |i', $theme_data, $author_uri );81 preg_match( '|Template:(.*) |i', $theme_data, $template );76 preg_match( '|Theme Name:(.*)$|mi', $theme_data, $theme_name ); 77 preg_match( '|Theme URI:(.*)$|mi', $theme_data, $theme_uri ); 78 preg_match( '|Description:(.*)$|mi', $theme_data, $description ); 79 preg_match( '|Author:(.*)$|mi', $theme_data, $author_name ); 80 preg_match( '|Author URI:(.*)$|mi', $theme_data, $author_uri ); 81 preg_match( '|Template:(.*)$|mi', $theme_data, $template ); 82 82 83 83 if ( preg_match( '|Version:(.*)|i', $theme_data, $version ) )
Note: See TracChangeset
for help on using the changeset viewer.