[wp-trac] [WordPress Trac] #32605: Add short-circuit filters to `*_metadata_by_mid()` functions
WordPress Trac
noreply at wordpress.org
Wed Jun 10 12:39:21 UTC 2015
#32605: Add short-circuit filters to `*_metadata_by_mid()` functions
-----------------------------------------+------------------------------
Reporter: dlh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Comment (by dlh):
In my case, a plugin was calling `wp_xmlrpc_server::set_custom_fields()`
in a way that would lead to `delete_metadata_by_mid()` in some instances
when I didn't want the meta deleted.
That said, I was also able to find a workaround without the filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32605#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list