[wp-trac] [WordPress Trac] #32942: Taxomony term list counts do not respect post_type parameter
WordPress Trac
noreply at wordpress.org
Wed Feb 1 13:52:09 UTC 2017
#32942: Taxomony term list counts do not respect post_type parameter
-------------------------------------+-----------------------------
Reporter: stueynet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 3.1
Severity: normal | Resolution:
Keywords: ux-feedback needs-patch | Focuses: administration
-------------------------------------+-----------------------------
Comment (by mark-k):
If the get_terms API can not properly return the count in the requested
context, than what is the use of it returning a count at all?
Or stated differently, if the result of the API is not reliable then the
WP_Terms_List_Table class should not rely on the count returned by it and
run additional query to get the correct number, or not show it at all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32942#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list