#12792 closed defect (bug) (fixed)
Custom post types cannot upload media or set thumbnails unless "editor" is enabled
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | has-patch thumbnails |
Focuses: | Cc: |
Description
Expected: setting "thumbnail" for custom post type allows for setting of thumbnail:
Observed: Unless "editor" is set, thumbnails won't work.
More:
In order to upload media or set thumbnails, the "editor" post type capability needs to be set. This isn't always desirable.
We should show the buttons if "thumbnail" is set but "editor" is not. Perhaps in its own "Media Upload" meta box.
Attachments (3)
Change History (14)
#2
@
15 years ago
We should show the buttons if "thumbnail" is set but "editor" is not. Perhaps in its own "Media Upload" meta box.
I disagree. If you want to upload media, go to the Media screen.
To fix the thumbnail problem, we should replace jQuery('#add_image').click();
with something less presumptive.
#4
@
15 years ago
To fix the thumbnail problem, we should replace jQuery('#add_image').click(); with something less presumptive.
attachment 12792.diff added
Nicely done! Solves that issues very cleanly.
#7
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
When clicking "Set featured image", the thickbox title is blank. This is fixed in 12792.2.diff.
When the editor isn't displayed, we should also remove the "Insert into Post" button.
#9
@
15 years ago
- Resolution set to fixed
- Status changed from reopened to closed
This seems good for me. Re-open if it not, or open a new ticket.
Related: #12590