[wp-trac] [WordPress Trac] #23149: YouTube Embedding is incorrect for https:// URLs
WordPress Trac
noreply at wordpress.org
Fri Dec 6 18:52:33 UTC 2013
#23149: YouTube Embedding is incorrect for https:// URLs
-------------------------+------------------------------
Reporter: Otto42 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 3.5
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by martyn_):
Also hitting this on my https only site.
I disagree with this
{{{
The core does not need any https front end logic baked in for it to do the
right thing for oembed when it is explicitly given an https URL.
}}}
though. If the site is https, then even if the user enters a http link, as
is extremely common because they've just copy pasta from another window
without any second thought, then it should be converted to https. Why not
just have a protocol-relative URL ( //youtube.com/ ) generated, which
will then follow the current protocol of the site?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23149#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list