[wp-trac] [WordPress Trac] #38280: Make term count for a specific object type available

WordPress Trac noreply at wordpress.org
Wed Dec 7 18:28:41 UTC 2016


#38280: Make term count for a specific object type available
-------------------------+------------------------------
 Reporter:  desrosj      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by desrosj):

 Also, the attached patch follows the following methodology:
 - Do not create meta entry if one object type is registered on a taxonomy.
 - If two or more object types are registered, only store a meta entry for
 object types who's counts are greater than 0.
 - The term count remains the cumulative count for all relationships.

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


More information about the wp-trac mailing list