Skip to content

Replace usages of WP_CONTENT_URL with content_url() to get the correct protocol.#193

Merged
johnclause merged 1 commit intoqTranslate-Team:masterfrom
sdellenb:sde/flagsProtocol
Jul 8, 2015
Merged

Replace usages of WP_CONTENT_URL with content_url() to get the correct protocol.#193
johnclause merged 1 commit intoqTranslate-Team:masterfrom
sdellenb:sde/flagsProtocol

Conversation

@sdellenb
Copy link
Copy Markdown

@sdellenb sdellenb commented Jul 7, 2015

Fixes mixed-content warnings in browsers for the flags when viewing the page over HTTPS.

(See wp.org support thread "Language flags break https in the admin page")

I've tested it on my test server and the flag images are now loaded over HTTPS as well (both in the language switcher and the admin page).

…t protocol.

Fixes mixed-content warnings in browsers for the flags when viewing the page over HTTPS.
johnclause added a commit that referenced this pull request Jul 8, 2015
Replace usages of WP_CONTENT_URL with content_url() to get the correct protocol.
@johnclause johnclause merged commit cd6bd0b into qTranslate-Team:master Jul 8, 2015
@johnclause
Copy link
Copy Markdown
Member

Thank you!

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.

2 participants