Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23149, comment 10


Ignore:
Timestamp:
12/12/2013 02:11:26 AM (11 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23149, comment 10

    initial v1  
    22
    33I disagree with this
    4 
    5 {{{
    6 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.
    7 }}}
     4> 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.
    85
    96though. 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?