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

WordPress Trac noreply at wordpress.org
Sat Oct 28 12:28:53 UTC 2017


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @adamsilverstein
 The following condition doesn't work for localized versions.
 {{{
 'Whether to bypass trash and force deletion.' !==
 endpoint.args.force.description
 }}}

 The german string is `Ob der Papierkorb umgangen werden soll und das
 Löschen erzwungen.` If you delete a post in Gutenberg (WordPress/German
 language), it gets deleted without trash. In Gutenberg (WordPress/English
 language) the post is moved to trash.

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


More information about the wp-trac mailing list