[wp-trac] [WordPress Trac] #39341: problem in wp-api.js line 205
WordPress Trac
noreply at wordpress.org
Tue Dec 20 10:55:04 UTC 2016
#39341: problem in wp-api.js line 205
--------------------------+-----------------------------
Reporter: Magenta Cuda | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
{{{
modelInstance.prototype.options = _.union( routeEndpoint.args,
modelInstance.prototype.options );
}}}
Are not the arguments to _.union objects not arrays? In which case
_.extend would be more appropriate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39341>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list