Changeset 4809
- Timestamp:
- 01/25/2007 07:42:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4802 r4809 1603 1603 elseif ( file_exists( ABSPATH . $file ) && is_file( ABSPATH . $file ) ) { 1604 1604 $template_data = implode( '', file( ABSPATH . $file ) ); 1605 if ( preg_match( "|Template Name:(.* 1605 if ( preg_match( "|Template Name:(.*)|i", $template_data, $name )) 1606 1606 return $name[1]; 1607 1607 }
Note: See TracChangeset
for help on using the changeset viewer.