Ticket #33387: 33387.diff
| File 33387.diff, 637 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/functions.php
4607 4607 } 4608 4608 4609 4609 foreach ( $all_headers as $field => $regex ) { 4610 if ( preg_match( '/^ [ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] )4610 if ( preg_match( '/^(?:[ \t]*<\?php)?[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, $match ) && $match[1] ) 4611 4611 $all_headers[ $field ] = _cleanup_header_comment( $match[1] ); 4612 4612 else 4613 4613 $all_headers[ $field ] = '';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)