]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/functions.php
Wordpress 3.1.1
[autoinstalls/wordpress.git] / wp-includes / functions.php
index 65ee33eaf408dff3db58157fd0801e3a38f69350..72843130a804171a3d451422ef45b79b90b0de5a 100644 (file)
@@ -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