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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 7 02:56:31 GMT 2007


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

 Misc thoughts.  Convert category to tag by setting the type bitfield to
 TAXONOMY_TAG unless the category is also a link category (link_count > 0).
 In that case, bitwise or TAXONOMY_TAG into the bitfield.  Change rel_type
 in post2cat from category to tag for all posts with that category id. Copy
 count to tag_count and then zero out count.  Link to the importer from
 Manage->Categories for better discoverability.

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


More information about the wp-trac mailing list