[wp-trac] [WordPress Trac] #11484: Comments are incorrectly imported
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 18 16:38:26 UTC 2009
#11484: Comments are incorrectly imported
--------------------------+-------------------------------------------------
Reporter: dleshem | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Import | Version: 2.8.6
Severity: blocker | Keywords: wxr comments import
--------------------------+-------------------------------------------------
Comment(by nacin):
With WP_DEBUG on, importing that XML file results in these notices:
> Notice: Undefined index: attachments in C:\xampp\htdocs\2.9\wp-
admin\import\wordpress.php on line 845
> Notice: Undefined offset: 1 in C:\xampp\htdocs\2.9\wp-
admin\import\wordpress.php on line 63
This is $return = preg_replace('|^<!\[CDATA\[(.*)\]\]>$|s', '$1',
$return[1]);
> Notice: Undefined index: comment_agent in C:\xampp\htdocs\2.9\wp-
includes\comment.php on line 1134
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11484#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list