Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#29931 new defect (bug)

Broken attachment page links for files attached to "Auto Draft" posts

Reported by: dcoleonline's profile dcoleonline Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4.2
Component: Media Keywords:
Focuses: Cc:


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.

Change History (3)

#1 @miqrogroove
10 years ago

This was wontfix'd at #22671 but I would support another review.

#2 @miqrogroove
10 years ago

  • Version changed from trunk to 3.4.2

#3 @iseulde
9 years ago

  • Component changed from Autosave to Media
Note: See TracTickets for help on using tickets.