[wp-trac] [WordPress Trac] #38280: Make term count for a specific object type available
WordPress Trac
noreply at wordpress.org
Wed Dec 7 18:26:47 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):
Talked this over with @johnbillion at WordCamp US. He suggested single
meta entries for each object type. This would unlock the potential for
sorting terms by object type counts.
The newest patch reflects this change, and also adds unit tests.
The patch works and I can verify that through testing it and checking the
database/displaying counts and function results. The tests all pass when
run directly (using `phpunit -group 38280` or `phpunit -group taxonomy`),
but for some reason they fail when running all unit tests. A second set of
eyes would be appreciated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38280#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list