[wp-trac] [WordPress Trac] #2836: wp_delete_comment() uses simple comment count decrementation instead of getting a fresh count

WordPress Trac noreply at wordpress.org
Sat Feb 10 11:51:12 UTC 2024


#2836: wp_delete_comment() uses simple comment count decrementation instead of
getting a fresh count
--------------------------+--------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  2.0.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by mariazcx09uc):

 What considerations should be taken into account when deciding whether to
 implement simple incrementation/decrementation or to perform a fresh count
 on every change?

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


More information about the wp-trac mailing list