[wp-trac] [WordPress Trac] #46350: If a term is '0' clicking on its "Count" value displays all posts
WordPress Trac
noreply at wordpress.org
Wed Mar 6 01:00:42 UTC 2019
#46350: If a term is '0' clicking on its "Count" value displays all posts
--------------------------+-----------------------------
Reporter: jesin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 5.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by desrosj):
* keywords: => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Thanks for opening this, @jesin!
This is most likely being caused by a loose comparison or two somewhere.
The first part of the problem looks to be
I tracked part of the issue to
[https://core.trac.wordpress.org/browser/tags/5.1/src/wp-includes/class-
wp-query.php#L1082 this conditional] (introduced in [15860]). But, in my
initial testing, there is still another loose comparison somewhere.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46350#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list