[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
wp-trac at lists.automattic.com
Fri Apr 23 07:01:58 UTC 2010
#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: new
Priority: normal | Milestone: 3.0
Component: Comments | Version: 3.0
Severity: normal | Keywords: dev-feedback has-patch
--------------------------+-------------------------------------------------
Comment(by solarissmoke):
Actually most of the functions that call wp_update_comment count already
check for this. The problem is in wp_set_comment_status, where it is
called regardless of what the change is. So maybe to fix that would be
better.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13091#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list