Changeset 11081 for trunk/wp-admin/import/livejournal.php
- Timestamp:
- 04/24/2009 04:57:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/livejournal.php
r10880 r11081 577 577 preg_match( '|<body>(.*)</body>|is', $comment, $matches ); 578 578 $comment_content = !empty( $comment_subject ) ? $comment_subject . "\n\n" . $matches[1] : $matches[1]; 579 $comment_content = html_entity_decode( $comment_content);579 $comment_content = @html_entity_decode( $comment_content, ENT_COMPAT, get_option('blog_charset') ); 580 580 $comment_content = str_replace( ''', "'", $comment_content ); 581 581 $comment_content = wpautop( $comment_content );
Note: See TracChangeset
for help on using the changeset viewer.