[wp-trac] [WordPress Trac] #40672: Undefined property `requireForceForDelete` prevents deleting terms in Backbone.js client

WordPress Trac noreply at wordpress.org
Fri Sep 29 21:05:41 UTC 2017


#40672: Undefined property `requireForceForDelete` prevents deleting terms in
Backbone.js client
--------------------------------------+-----------------------------------
 Reporter:  caercam                   |       Owner:  adamsilverstein
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.9
Component:  REST API                  |     Version:  4.7.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript, rest-api
--------------------------------------+-----------------------------------

Comment (by euthelup):

 I was just about to submit a test case when you added the patch, and I'm
 thrilled to see that I was about to send something similar(but not so
 elegant as you did tho, so I bow down now).

 Anyway, I just applied 40672.2.diff and after I've run the tests
 everything is green. From my point of view, this ticket is solved.

 If I can ask a trivia question, why the Settings model would not support
 this? I think it could be useful if there isn't an alternative for it.

 Thanks

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


More information about the wp-trac mailing list