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

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 19 04:38:49 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 mikeschinkel):

 Replying to [comment:28 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.

 FWIW, I have had need for both metadata for `taxonomy_term_id` and also
 for `taxonomy_relationship_id`;  I have not really had need for metadata
 for `term_id`.

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


More information about the wp-trac mailing list