8000 Remove https: and http: from LESS customizer output by benlk · Pull Request #815 · WPBuddy/largo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove https: and http: from LESS customizer output #815

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

Merged
merged 4 commits into from
Aug 7, 2015
Merged

Conversation

benlk
Copy link
Collaborator
@benlk benlk commented Aug 1, 2015

Changes:

  • The LESS customizer now strips http: and https: from the compiled custom stylesheet, so that all links will start with // and be protocol-agnostic. (For Make sure Largo is generally safe for HTTPS #811)
  • Update modernizr.custom.js to 2.8 from 2.6
  • a random doc string that wasn't using example.org

This does not include tests.

Why

Because, though our stylesheets use relative links to all the resources, including fonts, the customizer output replaces relative paths with get_template_directory_uri(), which keeps the protocol of the page that the admin was loaded with when the "Save Variables" button is pressed in the admin.

Modernizr: misc bugfixes, I guess

Docstring: Because IANA standards matter, and I saw it while looking for http:

rnagle added a commit that referenced this pull request Aug 7, 2015
Remove https: and http: from LESS customizer output
@rnagle rnagle merged commit b7234ff into master Aug 7, 2015
@rnagle rnagle deleted the 811-https-fixes branch September 10, 2015 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0