[wp-trac] [WordPress Trac] #39097: Links in embeds can't be opened in a new tab

WordPress Trac noreply at wordpress.org
Wed Feb 7 21:52:28 UTC 2018


#39097: Links in embeds can't be opened in a new tab
---------------------------------------+------------------------------
 Reporter:  smerriman                  |       Owner:
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Embeds                     |     Version:  4.4
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+------------------------------

Comment (by Mte90):

 After a little bit of testing seems that to enable from an iframe to open
 a link in a new tab is something that need to be changed in the content of
 the link of the iframe.
 For a purpose of security need a little bit of javascript hacking. So the
 only way is to inject a little bit of JS in every page that contain the
 embed, is something fine on WordPress?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39097#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list