[wp-trac] [WordPress Trac] #35060: Allow filtering of comment count
WordPress Trac
noreply at wordpress.org
Fri Jan 15 13:41:37 UTC 2016
#35060: Allow filtering of comment count
---------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner: swissspidy
Type: feature request | Status: closed
Priority: normal | Milestone: 4.5
Component: Comments | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):
* owner: => swissspidy
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36318"]:
{{{
#!CommitTicketReference repository="" revision="36318"
Comments: Add a new `pre_wp_update_comment_count_now` filter.
This allows filtering a post's comment count before it is queried and
updated in the database.
Props peterwilsoncc for initial patch.
Fixes #35060.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35060#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list