Ticket #19854: 19854.2.diff
File 19854.2.diff, 543 bytes (added by , 13 years ago) |
---|
-
wp-includes/functions.php
3430 3430 $all_headers = $default_headers; 3431 3431 } 3432 3432 3433 $file_data = preg_replace( '/\r(?!\n)/', "\n", $file_data ); // Line endings can be just \r on Mac 3434 3433 3435 foreach ( $all_headers as $field => $regex ) { 3434 3436 preg_match( '/^[ \t\/*#@]*' . preg_quote( $regex, '/' ) . ':(.*)$/mi', $file_data, ${$field}); 3435 3437 if ( !empty( ${$field} ) )