Changeset 4237
- Timestamp:
- 09/25/2006 02:27:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/import/rss.php
r4236 r4237 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.