Google Chrome v.44 breaking WordPress sites - Easy Fix as WordPress Plugin

The latest version of Google Chrome Browser does a very strange thing. It sends HTTPS header with value 1 which the is_ssl() WordPress function reads and sets the HTTPS as TRUE.

What this results in is that even though your WordPress is not set to use SSL and no security certificate is present all files like CSS, JavaScripts, Images even all links are set to go through HTTPS connection.

The problem occurs only on the latest Google Chrome v.44 and everything works perfectly on Firefox, Opera, Safari and even Google Chrome version 43.

This results in a majority of WordPress installs being broken (completely broken layout and functionality) and reported as unsafe.

We made a small WordPress Plugin to fix this issue on the affected sites.

DOWNLOAD THE PLUGIN FROM GITHUB

Hope this helps you guys,
VlooMan - IshYoBoy.com

Thank you VlooMan,

your plugin works fine!

Daniel

If you use WooCommerce in your theme, simply update to the latest version of WooCommerce to get rid of that issue. Don’t mess your site with more plugin.

ThimPress said

If you use WooCommerce in your theme, simply update to the latest version of WooCommerce to get rid of that issue. Don’t mess your site with more plugin.

You are partially right, but the problem also occurs in other themes and plugins whenever the is_ssl() function is used. This plugin did help resolve the problem on many of our sites even though Woocommerce was not part of them. But I agree the less plugins are used, the better.

This one should only be used until the problem is fixed in the next chrome release and it should bre deactivated and deleted.

Cheers

IshYoBoy said

We made a small WordPress Plugin to fix this issue on the affected sites.

DOWNLOAD THE PLUGIN FROM GITHUB

Hope this helps you guys,
VlooMan - IshYoBoy.com

Thanks for your plugin, it worked!

ThimPress said

If you use WooCommerce in your theme, simply update to the latest version of WooCommerce to get rid of that issue. Don’t mess your site with more plugin.

In our case, updating WooCommerce to latest version (2.3.13) didn’t work.

Hi,

thank you very much for this solution. We had problems all day trying different solutions without success. However now we have a major issue: we embed wufoo form in our site, which now doesn’t load. Here is how the code of embedded form looks like:

????????? ?? ?????????.

Its embedded on this page: http://advokatami.bg/registracia-na-eood/

Any help is appreciated :slight_smile:

Hey,

Maybe update the embeded JavaScript code to always use HTTP until the problem is solved.

Cheers

Just updated all WooCommerce plugins on my items and now works good.

IshYoBoy said

Hey,

Maybe update the embeded JavaScript code to always use HTTP until the problem is solved.

Cheers

HI, well it seems it is maybe from the update of Wordpress to 4.1.6 - somehow the java embed code stopped working. Any ideas would be apprecieted.

Thanks for the plugin. Really helpful. :slight_smile: