#37187 closed defect (bug) (fixed)
Get rid of unnecessary property being set in `WP_Comment_Query`
Reported by: | flixos90 | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Comments | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
WP_Comment_Query
sets an unnecessary property $comment_count
. It's not defined as a class member nor is it documented anywhere. It seems like it accidentally got there, maybe when parts of the code were copied from WP_Query
(as this one actually has a $comment_count
property which makes sense there).
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
37187.diff removes the line.