Ticket #1020: 1020.diff
| File 1020.diff, 555 bytes (added by Nazgul, 6 years ago) |
|---|
-
wp-includes/theme.php
56 56 } 57 57 58 58 function get_theme_data($theme_file) { 59 $theme_data = implode('', file($theme_file));59 $theme_data = str_replace('\r', '\n', implode('', file($theme_file))); 60 60 preg_match("|Theme Name:(.*)|i", $theme_data, $theme_name); 61 61 preg_match("|Theme URI:(.*)|i", $theme_data, $theme_uri); 62 62 preg_match("|Description:(.*)|i", $theme_data, $description);
