[wp-trac] [WordPress Trac] #35060: Allow filtering of comment count
WordPress Trac
noreply at wordpress.org
Tue Dec 29 00:39:09 UTC 2015
#35060: Allow filtering of comment count
----------------------------------------+------------------
Reporter: peterwilsoncc | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.5
Component: Comments | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------
Changes (by peterwilsoncc):
* keywords: has-patch => has-patch needs-unit-tests
Comment:
@swissspidy that was my first thought too, but figured it might be best to
avoid the DB call in the function if possible, see
[attachment:35060.2.diff].
Unsure if the filter is documented properly with the `null` constant.
No tests exist for `wp_update_comment_count_now`, where are these best
placed, does it need to be a seperate ticket?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35060#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list