Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not delete posts in german #3121

Closed
RickorDD opened this issue Oct 24, 2017 · 6 comments
Closed

not delete posts in german #3121

RickorDD opened this issue Oct 24, 2017 · 6 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@RickorDD
Copy link
Contributor

RickorDD commented Oct 24, 2017

when my WP Settings in German the can not delete a post in Gutenberg View. Is this a problem with translation file?

bildschirmfoto 2017-10-24 um 14 29 22

@Soean
Copy link
Member

Soean commented Oct 24, 2017

The language is not the problem. Can you describe step by step what are you doing before the error?

@karmatosed karmatosed added the [Status] Needs More Info Follow-up required in order to be actionable. label Oct 24, 2017
@RickorDD
Copy link
Contributor Author

RickorDD commented Oct 24, 2017

  1. change to "Deutsch"

bildschirmfoto 2017-10-24 um 20 52 47

  1. click to "Bearbeiten"

bildschirmfoto 2017-10-24 um 20 53 13

  1. "Move to trash"

bildschirmfoto 2017-10-24 um 20 53 40

@Soean
Copy link
Member

Soean commented Oct 24, 2017

I can't reproduce the bug. Looks like the REST API is not working. Maybe you have to reset the permalinks once.

@RickorDD
Copy link
Contributor Author

only DELETE has no route.
Other RESTs running.
Whats the correct DELETE?

bildschirmfoto 2017-10-25 um 21 46 29

@RickorDD
Copy link
Contributor Author

RickorDD commented Oct 27, 2017

the bug is also in English UK, Francais and Dansk.
But not in English (United State).

bildschirmfoto 2017-10-27 um 07 36 20

bildschirmfoto 2017-10-27 um 07 39 01

@RickorDD
Copy link
Contributor Author

RickorDD commented Oct 27, 2017

i tested with
curl -X DELETE http://www.example.com/wordpress/index.php?rest_route=/wp/v2/posts/11245?force=true
{"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}}

but
curl -X DELETE http://www.example.com/wordpress/index.php?rest_route=/wp/v2/posts/11245
{"code":"rest_cannot_delete","message":"Sorry, you are not allowed to delete this post.","data":{"status":401}}

Why is in all languages except English (United States) add the "?force=true"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

4 participants