WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#47103 new defect (bug)

Cannot save a draft of a password protected post without a title

Reported by: kylepott Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1.1
Component: Editor Keywords:
Focuses: ui Cc:
PR Number:

Description

Hello! WordPress 5.1.1 users will receive an "Updating failed" error message after:

1.) Posts > Add New Posts

2.) Visibility > Password Protected > Set any password.

3.) Leave title blank

4.) Add content to the body of the post.

5.) Save draft ERROR PRESENTED

Confirmed that this bug is repeatable. Also confirmed that a draft post will be saved, but the body content of the post will be lost.

Change History (1)

#1 @afercia
5 months ago

@kylepott thanks for your report and welcome to Trac!

I'm able to reproduce on latest trunk. Here's the response:

{code: "rest_invalid_param", message: "Invalid parameter(s): status",…}
code: "rest_invalid_param"
data: {status: 400, params: {status: "status is not one of publish, future, draft, pending, private."}}
params: {status: "status is not one of publish, future, draft, pending, private."}
status: "status is not one of publish, future, draft, pending, private."
status: 400
message: "Invalid parameter(s): status"
Note: See TracTickets for help on using tickets.