Changeset 51182 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/18/2021 02:02:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r51055 r51182 6288 6288 6289 6289 foreach ( $all_headers as $field => $regex ) { 6290 if ( preg_match( '/^ [ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] ) {6290 if ( preg_match( '/^(?:[ \t]*<\?php)?[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] ) { 6291 6291 $all_headers[ $field ] = _cleanup_header_comment( $match[1] ); 6292 6292 } else {
Note: See TracChangeset
for help on using the changeset viewer.