Opened 13 years ago
Closed 13 years ago
#24609 closed defect (bug) (duplicate)
Media files can’t be inserted as downloadable link
| Reported by: | derekspringer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for wp_ajax_send_attachment_to_editor() function to allow inserting links to media instead of shortcode.