Changeset 16215 for trunk/wp-includes/functions.php
- Timestamp:
- 11/05/2010 10:22:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r16203 r16215 4243 4243 4244 4244 foreach ( $all_headers as $field => $regex ) { 4245 preg_match( '/ ' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field});4245 preg_match( '/^[\s\/*#]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field}); 4246 4246 if ( !empty( ${$field} ) ) 4247 4247 ${$field} = _cleanup_header_comment( ${$field}[1] );
Note: See TracChangeset
for help on using the changeset viewer.