[wp-trac] Re: [WordPress Trac] #3723: Tagging

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 14 22:31:02 GMT 2007


#3723: Tagging
-------------------------+--------------------------------------------------
 Reporter:  ryan         |        Owner:  ryan
     Type:  enhancement  |       Status:  new 
 Priority:  normal       |    Milestone:  2.2 
Component:  General      |      Version:  2.1 
 Severity:  normal       |   Resolution:      
 Keywords:  tags         |  
-------------------------+--------------------------------------------------
Comment (by markjaquith):

 I wasn't a fan of merging post and link categories, but a lot of the
 problems we had there were because of backwards compatibility needs.  With
 tags, there is no backwards compatibility to worry about.

 And I don't think that any post category or link category queries would
 have to change.

 {{{
 SELECT * FROM $wpdb->categories WHERE category_count > 0;
 }}}

 That wouldn't be affected by a new tag_count column.

 Neither would

 {{{
 SELECT * FROM $wpdb->categories WHERE link_count > 0;
 }}}

 Because link cats and post cats are in the same table, they already have
 to ignore each other (or more specifically, only look for the specific
 type of category they want).  Because they're looking for something
 specific and not ignoring something specific, it doesn't matter how many
 more x_count columns you add, the old queries should still work.

 Tag clouds and more advanced tag applications I can't speak for... so if
 you have a specific example of a query that wouldn't work, speak up.

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


More information about the wp-trac mailing list