Attachment pages 404 for media attached to an "Auto Draft"
|Reported by:||miqrogroove||Owned by:|
Any image uploaded to a new post through the post editor or QuickPress has a broken View link in the Media Library. To reproduce:
- Go to Dashboard.
- Upload an image in QuickPress.
- Go to Media Library.
- Click the View link for the image.
I thought it was going to show me the image or the image's attachment page.
"This is somewhat embarrassing, isn't it?" - 404 message from URL like /?attachment_id=112
This won't happen if the image is uploaded via the Upload New Media page.
Change History (18)
comment:13 @helenyhou — 2 years ago
- Summary changed from Media View Links Are 404 to Attachment pages 404 for media attached to an "Auto Draft"
- Keywords has-patch commit added; close removed
- Milestone changed from Awaiting Review to 4.0