[wp-trac] [WordPress Trac] #35060: Allow filtering of comment count
WordPress Trac
noreply at wordpress.org
Tue Dec 29 01:00:39 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:
----------------------------------------+------------------
Comment (by rachelbaker):
@peterwilsoncc A better name for the filter would probably be
`pre_wp_update_comment_count_now` since it happens before the DB call.
The unit tests should go in a new file:
`/tests/phpunit/tests/comment/wpUpdateCommentCountNow.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35060#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list