WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#7926 closed defect (bug) (fixed)

Hitting Return in Edit Post text field saves draft post as status="pending"

Reported by: markjaquith Owned by: markjaquith
Milestone: 2.7 Priority: high
Severity: major Version: 2.7
Component: Administration Keywords:
Focuses: Cc:

Description

If you save a draft post by hitting the "return" key while in a text field (like in the title), it will save the post as Pending Review. It should instead just save it as a draft.

Change History (3)

comment:1 @markjaquith7 years ago

I'm working on this issue now.

comment:2 @markjaquith7 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

This happens because the "submit for review" button is currently first, and that's what browsers use as the pressed button when the form is submitted with the keyboard.

We just need to make sure that "Save Draft" / "Save" / "Update" is first. The design is in flux, so I'm not going to bother moving it now, but let's keep this ticket open as a reminder.

comment:3 @markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed as part of the publish module rework.

Note: See TracTickets for help on using tickets.