X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/fef8173b8c3bad08f495551e43cfdeac1cae6021..ae01624bdce6b71c47e08e8a0287de58284a6b73:/wp-includes/functions.php diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 65ee33ea..72843130 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4302,7 +4302,7 @@ function get_file_data( $file, $default_headers, $context = '' ) { } foreach ( $all_headers as $field => $regex ) { - preg_match( '/^[ \t\/*#]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field}); + preg_match( '/^[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field}); if ( !empty( ${$field} ) ) ${$field} = _cleanup_header_comment( ${$field}[1] ); else