[wp-trac] [WordPress Trac] #10142: Add metadata support for taxonomies

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 17 15:45:35 UTC 2011


#10142: Add metadata support for taxonomies
-------------------------------------------------+-------------------------
 Reporter:  sirzooro                             |       Owner:
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Taxonomy                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
-------------------------------------------------+-------------------------

Comment (by scribu):

 Currently, terms can be shared between taxonomies, although there is a
 trend against that: #5809

 With such a shared term, it's much more likely that you will want to
 associate different metadata for different taxonomies.

 Therefore, as it is now, if we add a term meta table, it should be
 connected via taxonomy_term_id only.

 Flipping the coin, if we connect it via term_id only, it's easy to
 differentiate based on taxonomy, by adding the taxonomy name to the meta
 key, for example.

 My point is that we should have one or the other, not both.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10142#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list