[wp-trac] [WordPress Trac] #58156: finetune wp_update_comment_count

WordPress Trac noreply at wordpress.org
Sat Jul 8 22:20:01 UTC 2023


#58156: finetune wp_update_comment_count
-------------------------+------------------------------
 Reporter:  Presskopp    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by Presskopp):

 I have to correct myself. The comment I made (which is not part of the
 patch, the patch is ok)
 {{{// for clarity, it is not even needed}}}
 is incorrect. In fact, the line is needed because of the following code.

 The alternative is to just strip the @todo comment, because the
 performance gain here is minimal

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


More information about the wp-trac mailing list