Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7926 closed defect (bug) (fixed)

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

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


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)

#1 @markjaquith
16 years ago

I'm working on this issue now.

#2 @markjaquith
16 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.

#3 @markjaquith
16 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.