[wp-trac] [WordPress Trac] #45799: Add an optional default parameter for WP_REST_Request::get_param method
WordPress Trac
noreply at wordpress.org
Mon Dec 31 16:10:04 UTC 2018
#45799: Add an optional default parameter for WP_REST_Request::get_param method
--------------------------+-----------------------------
Reporter: ediamin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: rest-api |
--------------------------+-----------------------------
This patch adds a default parameter for WP_REST_Request::get_param method,
just like we have a default param for `get_option` function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45799>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list