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

WordPress Trac noreply at wordpress.org
Fri May 5 13:11:21 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:  Awaiting Review
Component:  REST API      |     Version:  4.7.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript, rest-api
--------------------------+-----------------------------------
Changes (by adamsilverstein):

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


Comment:

 @caercam Thanks for the bug report and detailed description.

 To clarify, when you try to delete a Category or Tag model you can a
 failure response from the api? can you provide some code snippets
 demonstrating what you are trying to do? I will look into why the has
 parent distinction is in place for the requireForceForDelete property.
 This should be based on whether the endpoint supports the trash, right?

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


More information about the wp-trac mailing list