Ticket #879: 879.diff
File 879.diff, 547 bytes (added by , 19 years ago) |
---|
-
wp-admin/import/rss.php
38 38 $index = 0; 39 39 foreach ($this->posts as $post) { 40 40 preg_match('|<title>(.*?)</title>|is', $post, $post_title); 41 $post_title = $wpdb->escape(trim($post_title[1]));41 $post_title = str_replace(array('<![CDATA[', ']]>'), '', $wpdb->escape( trim($post_title[1]) )); 42 42 43 43 preg_match('|<pubdate>(.*?)</pubdate>|is', $post, $post_date); 44 44