Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23149, comment 10

    v1 v2  
    44> 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.
    55
    6 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?
     6though. 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?
    77
    88