[wp-trac] Re: [WordPress Trac] #4189: Taxonomy Schema and API

WordPress Trac wp-trac at lists.automattic.com
Thu May 3 15:10:32 GMT 2007


#4189: Taxonomy Schema and API
-------------------------------------------+--------------------------------
 Reporter:  ryan                           |        Owner:  anonymous
     Type:  defect                         |       Status:  new      
 Priority:  normal                         |    Milestone:  2.3      
Component:  General                        |      Version:  2.2      
 Severity:  normal                         |   Resolution:           
 Keywords:  term taxonomy tags categories  |  
-------------------------------------------+--------------------------------
Comment (by jhodgdon):

 Replying to [comment:9 majelbstoat]:
 > Both of those statements are correct.  object_id is not unique.
 However, the tuple of object_id and term_taxonomy_id will be unique.

 Thanks, makes more sense now... I was hung up on trying to understand the
 database structure by reading the schema diff, but I guess it's not quite
 complete/correct yet and I would have been better off starting with the
 code.

 The idea of adding various helper functions to do the queries is
 excellent, as it will save people time and also serve as models for how to
 do custom queries in plugins for other purposes.

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


More information about the wp-trac mailing list