Changeset 10334
- Timestamp:
- 01/08/2009 05:46:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/livejournal.php
r9903 r10334 60 60 preg_match('|<itemid>(.*?)</itemid>|is', $post, $post_title); 61 61 $post_title = $wpdb->escape(trim($post_title[1])); 62 $post_content = preg_replace('|<lj\s+user\s*=\s*["\']([\w-]+)["\']>|', '<a href="http://$1.livejournal.com/">$1</a>', $post_content); 62 63 } 63 64
Note: See TracChangeset
for help on using the changeset viewer.