[wp-trac] [WordPress Trac] #39341: problem in wp-api.js line 205

WordPress Trac noreply at wordpress.org
Tue Dec 20 13:50:28 UTC 2016


#39341: problem in wp-api.js line 205
--------------------------+------------------------------
 Reporter:  Magenta Cuda  |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------
Changes (by adamsilverstein):

 * owner:   => adamsilverstein
 * status:  new => assigned
 * focuses:   => javascript


Comment:

 @Magenta Cuda thanks for the bug report. I am going to look into this, can
 I ask you though why you are raising it as a bug, did you come across
 somewhere trying to use the library and it failed because of this code?
 eg. does using `_.union` here vs `_.extend` actually break something, or
 are you noting it seems wrong on a pure code bases. If this does cause
 some demonstrable issue, I'd like to write a unit test demonstrating that
 so we can verify the code changes fixes the issue.

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


More information about the wp-trac mailing list