Ticket #3434: wordpress.php.diff
| File wordpress.php.diff, 579 bytes (added by , 19 years ago) |
|---|
-
wp-admin/import/wordpress.php
232 232 $post_content = str_replace('<br>', '<br />', $post_content); 233 233 $post_content = str_replace('<hr>', '<hr />', $post_content); 234 234 235 preg_match_all('|<category> (.*?)</category>|is', $post, $categories);235 preg_match_all('|<category><..CDATA.(.*?)..></category>|is', $post, $categories); 236 236 $categories = $categories[1]; 237 237 238 238 $cat_index = 0;