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

WordPress Trac noreply at wordpress.org
Fri Sep 4 09:37:39 UTC 2015


#10142: Add metadata support for taxonomy terms
-----------------------------+-----------------------------
 Reporter:  sirzooro         |       Owner:
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:  Future Release
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------------

Comment (by flixos90):

 Replying to [comment:126 marsjaninzmarsa]:
 > And you would end up with nice fulltext search every time you wanna
 query items by color or product, nice. And with ~ 1 million extra rows in
 postmeta table (~20 products in each outpost), all with longtext, just for
 storing relations between posts...

 Okay granted, that's not the best solution either. In that case I would
 rather have a `post_relationships` table being introduced, but that's
 probably a little too much off-topic here.

 > > > > significantly reduce performance on term queries
 > > >
 > > > Only if you opt-in this taxonomy to support metadata?
 > >
 > > I don't think opt-in for term meta is a good idea ("Decisions, not
 Options"). Moreover, there is no opt-in for post and user meta, so why
 would we do it for terms? I'd rather have a decision being made over the
 next weeks/months.
 >
 > Yes, there is opt-in for post meta:
 https://codex.wordpress.org/Function_Reference/register_post_type#supports

 Isn't that just for the ability to manually add custom fields? It
 basically is post meta, but you can always use the underlying CRUD
 functions for post meta even if that support is not enabled.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10142#comment:127>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list