[wp-trac] [WordPress Trac] #34977: When updating a Comment do not call `wp_update_comment_count` if there is no related Post
WordPress Trac
noreply at wordpress.org
Mon Dec 28 22:57:40 UTC 2015
#34977: When updating a Comment do not call `wp_update_comment_count` if there is
no related Post
--------------------------------------+--------------------------
Reporter: rachelbaker | Owner: rachelbaker
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+--------------------------
Changes (by rachelbaker):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"36115"]:
{{{
#!CommitTicketReference repository="" revision="36115"
Comments: Return early from `wp_update_comment_count()` if there is not a
valid post.
Props ambrosey, juanfra.
Fixes #34977
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34977#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list