[wp-trac] [WordPress Trac] #10391: Fishy looking comment_agents in the livejournal importer

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 12 10:46:16 UTC 2009


#10391: Fishy looking comment_agents in the livejournal importer
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.9
Component:  Import             |     Version:     
 Severity:  normal             |    Keywords:     
-------------------------------+--------------------------------------------
 Found this while looking into #10389.

 There are things like:

 {{{
 // should this be an agent instead?
 'comment_agent' => $lj_comment_parent,

 ...

 // should be comment_parent instead?
 while ( $comments = $wpdb->get_results( "SELECT comment_ID, comment_agent
 FROM {$wpdb->comments} WHERE comment_type = 'livejournal' AND
 comment_agent != '0' LIMIT 5000", OBJECT ) ) {

 array( 'comment_parent' => $this->get_wp_comment_ID(
 $comment->comment_agent ), 'comment_type' => 'livejournal-done' ),

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10391>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list