[wp-trac] [WordPress Trac] #36409: Comments number is wrong
WordPress Trac
noreply at wordpress.org
Mon Apr 4 16:50:24 UTC 2016
#36409: Comments number is wrong
----------------------------------------+----------------------------------
Reporter: sidati | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: template,
| performance
----------------------------------------+----------------------------------
Comment (by sidati):
@boonebgorges;
I like your approach but if you realize the loop is infinite :), so i add
a third variable to hold only the found children IDs to be used in the
next loop.
You can test it now :
[https://core.trac.wordpress.org/attachment/ticket/36409/36409-3.patch
36409-3.patch ]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36409#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list