[wp-trac] [WordPress Trac] #13091: edit_post action on wp_update_comment_count_now should not be fired if the comment count hasn't changed
WordPress Trac
noreply at wordpress.org
Wed Oct 8 16:08:11 UTC 2014
#13091: edit_post action on wp_update_comment_count_now should not be fired if the
comment count hasn't changed
------------------------------------+-----------------------------
Reporter: solarissmoke | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: Comments | Version: 3.0
Severity: normal | Resolution: invalid
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+-----------------------------
Changes (by chriscct7):
* status: new => closed
* resolution: => invalid
Comment:
A valid usecase against proposed is if a comment comes in and is awaiting
approval, you can edit the comment then set it as spam, pending or
approved. As such, edit_post should be fired as its possible for the
comment to be edited without the status of the comment changing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13091#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list