[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
Fri Dec 11 14:22:46 UTC 2015


#34977: When updating a Comment do not call `wp_update_comment_count` if there is
no related Post
--------------------------------------+------------------
 Reporter:  rachelbaker               |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.5
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------

Comment (by rachelbaker):

 @juanfra @ambrosey Great questions.  With newly written lines we do want
 to follow the [https://make.wordpress.org/core/handbook/best-practices
 /coding-standards/php/#brace-style WordPress Coding Standards].
 @ambrosey So it looks like on line 1951 you are just missing a space
 before the bracket.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34977#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list