Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21399, comment 3


Ignore:
Timestamp:
07/30/2012 08:21:19 PM (14 years ago)
Author:
nacin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21399, comment 3

    initial v1  
    11Prior to 3.5, `//` is considered a path-relative URL, and the site URL is prepended. So that's a no-go.
    22
    3 We could consider a version check, and then register // if we're good, and otherwise, checking is_ssl(). Not as elegant as a straight is_ssl() check, but at least sets the expectation that you can now do // with enqueues.
     3We could consider a version check, and then register `//` if we're good, and otherwise, checking is_ssl(). Not as elegant as a straight is_ssl() check, but at least sets the expectation that you can now do `//` with enqueues.
    44
    55Might complicate the theme more than it should, though. I'm fine with a straight is_ssl() check.