Changes from trunk/wp-admin/import/blogware.php at r9903 to branches/2.7/wp-admin/import/blogware.php at r10392
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-admin/import/blogware.php
r9903 r10392 90 90 91 91 // Clean up content 92 $post_content = preg_replace ('|<(/?[A-Z]+)|e', "'<' . strtolower('$1')", $post_content);92 $post_content = preg_replace_callback('|<(/?[A-Z]+)|', create_function('$match', 'return "<" . strtolower($match[1]);'), $post_content); 93 93 $post_content = str_replace('<br>', '<br />', $post_content); 94 94 $post_content = str_replace('<hr>', '<hr />', $post_content); … … 130 130 131 131 // Clean up content 132 $comment_content = preg_replace ('|<(/?[A-Z]+)|e', "'<' . strtolower('$1')", $comment_content);132 $comment_content = preg_replace_callback('|<(/?[A-Z]+)|', create_function('$match', 'return "<" . strtolower($match[1]);'), $comment_content); 133 133 $comment_content = str_replace('<br>', '<br />', $comment_content); 134 134 $comment_content = str_replace('<hr>', '<hr />', $comment_content);
Note: See TracChangeset
for help on using the changeset viewer.