[wp-trac] Re: [WordPress Trac] #5557: wxr importer: defer comment counts

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 1 01:25:19 GMT 2008


#5557: wxr importer: defer comment counts
-------------------------+--------------------------------------------------
 Reporter:  tellyworth   |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.4      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by tellyworth):

 Lloyd pointed out the comment_exists() change made a poor assumption.  It
 didn't support a common use case where a second import is run after a
 first pass to catch up on comments that were added during the transition
 period.  The second patch fixes this: it does the comment_exists() check
 when the post already exists, and skips it when it does not.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5557#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list