[wp-trac] [WordPress Trac] #37703: Optimise `wp_delete_comment` as called from `wp_delete_post`

WordPress Trac noreply at wordpress.org
Fri Sep 20 10:03:22 UTC 2019


#37703: Optimise `wp_delete_comment` as called from `wp_delete_post`
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests         |     Focuses:
  reporter-feedback                              |  performance
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 @peterwilsoncc Can you clarify the exact optimisation you'd like to make
 here? Is it the order in which `wp_delete_comment()` gets called or is it
 optimisation within the function? Thanks!

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


More information about the wp-trac mailing list