[wp-trac] [WordPress Trac] #39706: Add $unique param to add_{$meta_type}_meta actions
WordPress Trac
noreply at wordpress.org
Thu Jan 26 17:11:07 UTC 2017
#39706: Add $unique param to add_{$meta_type}_meta actions
--------------------------------+-----------------------------
Reporter: barryceelen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
The hooks `add_{$meta_type}_meta` and similar provide context about
`$object_id`, `$meta_key`, `$_meta_value` and such, but do not tell
whether the meta data added or updated is supposed to be `$unique`.
Adding this information could be helpful. My use case for instance is
propagating meta data across posts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39706>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list