Changeset 2699 for trunk/wp-admin/import-livejournal.php
- Timestamp:
- 07/05/2005 08:47:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import-livejournal.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import-livejournal.php
r2687 r2699 83 83 84 84 preg_match('|<subject>(.*?)</subject>|is', $post, $title); 85 $title = addslashes( trim($title[1]) );85 $title = $wpdb->escape( trim($title[1]) ); 86 86 $post_name = sanitize_title($title); 87 87 … … 93 93 94 94 preg_match('|<event>(.*?)</event>|is', $post, $content); 95 $content = str_replace( array('<![CDATA[', ']]>'), '', addslashes( trim($content[1]) ) );95 $content = str_replace( array('<![CDATA[', ']]>'), '', $wpdb->escape( trim($content[1]) ) ); 96 96 97 97 // Now lets put it in the DB
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)