Changeset 4150
- Timestamp:
- 08/31/2006 05:36:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/rss.php
r4149 r4150 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_gmt);
Note: See TracChangeset
for help on using the changeset viewer.