Opened 12 years ago
Closed 12 years ago
#24355 closed defect (bug) (invalid)
Post Formats: any allowed file type can be uploaded to an audio, video or image post
Reported by: | kovshenin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Post Formats | Keywords: | close |
Focuses: | Cc: |
Description
To reproduce:
- Create a new post, select the video post format
- Hit Select Video from Media Library
- Choose Upload Files and upload an image
- Hit Select Video
An image is inserted instead of a video, plus after saving, the dimensions constraints are not applied to the image because it's a video post format.
Attachments (1)
Change History (8)
#2
@
12 years ago
- Summary changed from Post Formats: any file type can be uploaded to an audio, video or image post to Post Formats: any IMAGE file type can be uploaded to an audio, video or image post
#3
@
12 years ago
- Keywords has-patch added; needs-patch removed
- Summary changed from Post Formats: any IMAGE file type can be uploaded to an audio, video or image post to Post Formats: any file type can be uploaded to an audio, video or image post
#4
follow-up:
↓ 5
@
12 years ago
agree! but any file can be an .exe file or .msi, so this can be misunderstood.
So the title is incorrect.
Note: See
TracTickets for help on using
tickets.
@alexvom2: it's not only an image. You can easily upload and insert an audio attachment to a video post format and vice versa, basically with any allowed file types.
24355.diff disables the insert button when selecting an attachment that does not match the library's current type filter. This should work for media in general, not only post formats.