[wp-trac] [WordPress Trac] #43941: Add default value to register meta
WordPress Trac
noreply at wordpress.org
Tue May 19 22:36:22 UTC 2020
#43941: Add default value to register meta
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
| johnbillion
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Options, Meta APIs | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests early | Focuses: rest-api
needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
Based on feedback I updated the
[https://core.trac.wordpress.org/attachment/ticket/43941/43941.12.diff
patch] / [https://github.com/WordPress/wordpress-develop/pull/256 PR]. I
have added a new function called `get_metadata_raw` that gets the raw
value without a default / filter.
Can you review again please @johnbillion ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43941#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list