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

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 03:56:02 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 majelbstoat):

 Yeah, to be honest, we don't need that lookup table at all.  Because I
 restructured the term_relationships table to an int join, we only store
 the taxonomy string in one place and we don't ever need to join on
 taxonomy type.  In fact, adding a lookup table will needlessly complicate
 things now that I think about it, and is probably a good case of over-
 normalisation.  I'll refactor the functions to just accept a taxonomy
 string and add a bit more functionality to the WPTaxonomy class to flesh
 it out a bit.  When the basics are there, we'll have to start reworking
 the category API internals.  Speaking of which, did you have any comments
 on the right/left structure for hierarchical data from the above link?
 This is the right time to implement it, if we're going to...

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


More information about the wp-trac mailing list