Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3889 closed defect (bug) (fixed)

Plugin Embeds: Download link not working

Reported by: swissspidy's profile swissspidy Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:


For various reasons, WordPress embeds (oEmbed) from a domain like cannot contain links to URLs on any other host. Only links with identical hosts are allowed. See for the source code.

Plugin embeds contain a "Get this plugin" link that leads to…. However, since plugins are embedded from, the link won't work.

Suggestion: just link to the plugin page or use something like<plugin>/download/ that then redirects to the ZIP file for download.

Plugin embeds were introduced/optimized in #1396.

Change History (3)

This ticket was mentioned in Slack in #core by swissspidy. View the logs.

5 years ago

#2 @Otto42
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

[7793] until we come up with something better

#3 @SergeyBiryukov
5 years ago

In 7796:

Plugins: After [7793], use get_permalink() so that esc_url() could work as expected.

See #3889.

Note: See TracTickets for help on using tickets.