[wp-trac] [WordPress Trac] #19730: Death "Add Media" link after permanently deleting media items.
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 4 10:30:13 UTC 2012
#19730: Death "Add Media" link after permanently deleting media items.
--------------------------+-----------------------------
Reporter: Jordi-Fun | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.3
Severity: minor | Keywords:
--------------------------+-----------------------------
After deleting a media item permanently and try to directly add a new one
via the 'title-menu-link' (the button-link near the "Media" title in the
admin screen) will result in a death link ("Invalid post type").
Follow these steps to reproduce the death link(s):
If you have no '''unattachted''' media in your library, first do this:
- Media > Add New
- From the 'title' menu "Add New" (Button near "Media Library" at the top)
- Add a random image/file and press "Save changes"
- You'll get redirected back to the overview of all your media.
If you already have one or more '''unattached''' media items in the
library:
- Click on the "Delete Permanently" link of the file you just uploaded
(the unattached file) (and press oke in the alert dialog)
- This is where something goes wrong: You'r now redirected to the edit.php
page where you can read: "Item permanently deleted.". Now click again on
the "Add New" link in the title-menu near the title "Media"
- You're now redirected to an invalid page: "Invalid post type".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19730>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list