WordPress.org

Plugin Directory


Ignore:
Timestamp:
02/23/11 22:20:10 (7 years ago)
Author:
duck_
Message:

Map comment user_id where possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress-importer/trunk/wordpress-importer.php

    r350032 r350057  
    66Author: wordpressdotorg 
    77Author URI: http://wordpress.org/ 
    8 Version: 0.4-alpha1 
     8Version: 0.4-alpha2 
    99Text Domain: wordpress-importer 
    1010License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     
    640640                    $newcomments[$comment_id]['comment_type']         = $comment['comment_type']; 
    641641                    $newcomments[$comment_id]['comment_parent']       = $comment['comment_parent']; 
     642                    if ( isset( $this->processed_authors[$comment['comment_user_id']] ) ) 
     643                        $newcomments[$comment_id]['user_id'] = $this->processed_authors[$comment['comment_user_id']]; 
    642644                } 
    643645                ksort( $newcomments ); 
Note: See TracChangeset for help on using the changeset viewer.