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

WordPress Trac noreply at wordpress.org
Mon Aug 30 22:44:12 UTC 2021


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

 * milestone:  Awaiting Review => 5.9


Comment:

 Moving on to 5.9 to get the initial step in to avoid reparenting of
 comments that are about to be deleted.

 Reducing the queries with further smarts can be done on a follow up ticket
 per my comment above.

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


More information about the wp-trac mailing list