[wp-trac] [WordPress Trac] #45799: Add an optional default parameter for WP_REST_Request::get_param method

WordPress Trac noreply at wordpress.org
Fri Nov 29 03:08:56 UTC 2019


#45799: Add an optional default parameter for WP_REST_Request::get_param method
-----------------------------+------------------------------
 Reporter:  ediamin          |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  rest-api
-----------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  has-patch => has-patch close


Comment:

 Conditionally adding the close keyword. @ediamin if you could illustrate
 the scenario you had in mind that'd be great!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45799#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list