WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 13 months ago

#37702 new enhancement

Accept array of IDs in `delete_metadata_by_mid`

Reported by: peterwilsoncc Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: needs-patch needs-unit-tests
Focuses: performance Cc:

Description

When deleting meta data in bulk (for example when an object is deleted), improve performance of meta deletion by accepting an array for delete_metadata_by_mid and related functions.

Related #37671.

Change History (1)

Note: See TracTickets for help on using tickets.