[wp-trac] [WordPress Trac] #37703: Optimise `wp_delete_comment` as called from `wp_delete_post`
WordPress Trac
noreply at wordpress.org
Wed Oct 23 16:11:49 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-refresh has-patch has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Changes (by Mte90):
* keywords: needs-patch needs-unit-tests reporter-feedback => needs-
refresh has-patch has-unit-tests
Comment:
Attached there is the first part of the patch, unfinished because is
missing the reassignment of the parents and so on.
I added also a test for the new function `wp_delete_comments` that I am
using to develop.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37703#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list