Ticket #6269: 6269.patch
File 6269.patch, 615 bytes (added by , 17 years ago) |
---|
-
wp-admin/import/rss.php
83 83 if (!$post_content) { 84 84 // This is for feeds that put content in description 85 85 preg_match('|<description>(.*?)</description>|is', $post, $post_content); 86 $post_content = $wpdb->escape($this->unhtmlentities(trim($post_content[1])));86 $post_content = str_replace(array ('<![CDATA[', ']]>'), '', $wpdb->escape($this->unhtmlentities(trim($post_content[1])))); 87 87 } 88 88 89 89 // Clean up content