[wp-trac] [WordPress Trac] #43941: Add default value to register meta
WordPress Trac
noreply at wordpress.org
Wed May 2 22:55:18 UTC 2018
#43941: Add default value to register meta
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
spacedmonkey |
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, | Version: 4.6
Meta APIs | Keywords: has-patch needs-testing dev-
Severity: normal | feedback
Focuses: |
-------------------------+-------------------------------------------------
Add a default value field to register meta. Meaning that if a metat value
isn't set that is returns a default value. This bring the meta register
api inline with register_setting, that already has a default value set.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43941>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list