[wp-trac] Re: [WordPress Trac] #4107: Tags to categories importer

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 10 16:18:20 GMT 2007


#4107: Tags to categories importer
----------------------------+-----------------------------------------------
 Reporter:  rob1n           |        Owner:  rob1n   
     Type:  task            |       Status:  reopened
 Priority:  high            |    Milestone:  2.2     
Component:  Administration  |      Version:          
 Severity:  critical        |   Resolution:          
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by rob1n):

 Replying to [comment:16 matt]:
 > Every time I run this it gives me this error, for every category:
 >
 > Converting category #79... Category doesn't exist!

 I *think* this is because apparently category_exists return the category
 ID on success, and also it takes the nicename. I'll add in a function
 local to the importer class that checks based on ID, and returns either
 boolean true or false.

 > It also seems to list tags in the checkbox thing, where it should really
 only lists categories.

 This is just my stupid mistake :\.

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


More information about the wp-trac mailing list