[wp-trac] [WordPress Trac] #29931: Broken attachment page links for files attached to "Auto Draft" posts

WordPress Trac noreply at wordpress.org
Sat Oct 11 18:06:09 UTC 2014


#29931: Broken attachment page links for files attached to "Auto Draft" posts
--------------------------+-----------------------------
 Reporter:  dcoleonline   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Autosave      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 '''Steps to Replicate'''

 1. Create a new post without a title.
 2. Use the Add Media button within the post editor to upload files, but do
 not insert the files into the post.
 3. Close the post editor without saving the draft.
 4. Go to the Media Library
 5. Notice the files show as being uploaded to a post called Auto Draft.
 6. Try to view the attachment page, but get a “404 Page Not Found” error.

 '''Recommended fix:'''

 Do not attach files to a post that has a blank title and body. Leave the
 files unattached until text has been entered into the title or body of the
 post.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29931>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list