[wp-trac] [WordPress Trac] #40672: Undefined property `requireForceForDelete` prevents deleting terms in Backbone.js client
WordPress Trac
noreply at wordpress.org
Fri Sep 29 15:05:51 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 needs-unit-tests | Focuses: javascript, rest-
| api
----------------------------------------+----------------------------------
Comment (by euthelup):
Hi,
I've tried to write some unit tests for this case (and failed miserably)
but I noticed that if I apply the patch made by @adamsilverstein the Qunit
tests fail at {{{wpapi: Checking WidgetsArchives class name.}}} since the
patch at line 1248 doesn't check for the {{{force}}} property.
I'm submitting a patch with a version that works on my end. I hope it
makes sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40672#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list