[wp-trac] Re: [WordPress Trac] #4040: WXR importing duplicates categories

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 12 05:24:45 GMT 2007


#4040: WXR importing duplicates categories
------------------------------+---------------------------------------------
 Reporter:  takayukister      |        Owner:  rob1n   
     Type:  defect            |       Status:  reopened
 Priority:  low               |    Milestone:  2.2     
Component:  Administration    |      Version:  2.2     
 Severity:  normal            |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Changes (by takayukister):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I reopened to upload additional patch to correct two points below,

 1. $post_cats should always include $cat_ID, regardless the category is
 existent or not.

 2. Replace $post_ID to $post_id.

 $post_ID is old ID on WXR file and $post_id is new ID. It's confusing
 naming (I'm sorry because I named $post_ID). It would be good to give them
 better names.

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


More information about the wp-trac mailing list