Opened 11 years ago
Closed 11 years ago
#24609 closed defect (bug) (duplicate)
Media files can’t be inserted as downloadable link
Reported by: | derekspringer | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
Linking to the media file creates the shortcode/player. Various users in tickets and forums report that they want to still have the option to NOT include the player.
Steps to reproduce:
- New Post
- Add Media
- Select or upload an audio or video file
- Under Attachment Display Settings, change the Link To dropdown to “Media File” (or anything but "None")
- Click insert into post
Result: the shortcode to include a player is inserted rather than just the file link. You get the same result when you choose a different attachment setting option like: attachment page, media file or custom url.
Attachments (1)
Change History (4)
#2
in reply to:
↑ 1
;
follow-up:
↓ 3
@
11 years ago
Replying to SergeyBiryukov:
Sounds like a duplicate of #24449.
Looks like you are correct, shall I post my patch over there? I just fixed this same issue over on WordPress.com
#3
in reply to:
↑ 2
@
11 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #24449.
Replying to derekspringer:
Looks like you are correct, shall I post my patch over there? I just fixed this same issue over on WordPress.com
Yes please. And YAY.
Patch for wp_ajax_send_attachment_to_editor() function to allow inserting links to media instead of shortcode.