Opened 12 years ago
Closed 12 years ago
#22483 closed defect (bug) (duplicate)
Trouble with saving new title-less, content-less posts.
Reported by: | trepmal | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
- Add New post
- Don't fill in title, content, or excerpt (causing the 'wp_insert_post_empty_content' filter to return true)
- Hit Publish or Save Draft
WordPress gives a 'post published' or 'post updated' notice respectively.
However, it's actually still an auto-draft. The 'view post' link in either notice returns a 404, and it the post doesn't get listed on edit.php, so once you close the page, there's no link to get back.
While I'm sure it's unlikely that anyone is publishing or drafting empty posts, adding custom fields or choosing a featured image does not change the outcome.
If on step 3 I click Preview instead, I get "Preview not available. Please save as a draft first." So I click Save Draft, then Preview and end up with a 404.
Confirmed this with 3.4.2 and trunk (revision 22616) - haven't looked further back.
Change History (1)
Note: See
TracTickets for help on using
tickets.
#17115, #18870