[wp-trac] [WordPress Trac] #22483: Trouble with saving new title-less, content-less posts.

WordPress Trac noreply at wordpress.org
Fri Nov 16 22:28:57 UTC 2012


#22483: Trouble with saving new title-less, content-less posts.
-----------------------------+----------------------------
 Reporter:  trepmal          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Administration
  Version:  3.4              |   Severity:  normal
 Keywords:                   |
-----------------------------+----------------------------
 1. Add New post
 2. Don't fill in title, content, or excerpt (causing the
 'wp_insert_post_empty_content' filter to return true)
 3. 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22483>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list