-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strip http/https detection in enqueue and linking #3171
Comments
Thanks @maxrice - that confirms it's possible in WordPress since version 3.5, so this is good to go. :) |
@coenjacobs could have just asked, I've already done this and could have confirmed it for you! |
since 57157db i believe this is broken. styles / js are attempting to enqueue via // not http:// or https:// |
// is protocol relative. |
@sjeden this is expected and works perfectly fine :) |
@mikejolley @pmgarman - clearly a theming issue on my part then. lulz. |
According to @mikejolley this can be done by just providing
//
instead of manually determining if we should enqueue/link viahttp
orhttps
.The text was updated successfully, but these errors were encountered: