[wp-trac] [WordPress Trac] #49337: Pass object ids to filters in wp_delete
WordPress Trac
noreply at wordpress.org
Sat Feb 1 09:52:09 UTC 2020
#49337: Pass object ids to filters in wp_delete
--------------------------+-----------------------------
Reporter: tbt45974 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If a site has a large amount of posts associated with a term
[https://woq9.com/ .] custom queries hooked into delete_term or
delete_$taxonomy can become very expensive. On WordPress.com we pass the
affected object ids to the actions as well, allowing for a more targeted
query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49337>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list