Skip to content

A quick fix for the Google Chrome v.44 breaking WordPress sites due to forcing HTTPS instead of standard HTTP requests.

Notifications You must be signed in to change notification settings

IshYoBoy/aaa-ishyoboy-google-chrome-44-ssl-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Google Chrome v.44 WordPress SSL Fix
by IshYoBoy.com

Update #2 - 25.07.2015 - 07:10
Google Chrome released an official fix patch. Version 44.0.2403.107 (Win, Mac, Linux) fixes this behavior. So go ahead and update your browser. You should see an update already https://code.google.com/p/chromium/issues/detail?id=501842#c63

1. SYMPTOMS:

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.

Update #1 - 24.07.2015 - 13:05
It seems the problems were caused due to a wrong implementation and usage of "$_SERVER['HTTP_HTTPS']" either by Themes, Plugins or Even Hosting providers.

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 evene Google Chrome version 43.

2. RESULT:

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

3. WHAT THIS PLUGIN DOES:

The plugin unsets:

unset( $_SERVER[‘HTTP_HTTPS’] );

This ensures that the connection is always handled correctly. If this does not solve the problem, you might need to contact your hosting provider about this issue as SSL might be turned on before the WordPress even starts. Alternatively you can try the .htaccess fix or set the $_SERVER['HTTPS'] to 'off'.

4. HOW TO USE:

Simply download this plugin using the "Download Zip" button in the right column of this GitHub page and install it via WordPress. You might have to use a different browser like FireFox, Opera or Safari to access the administration of your WordPress installation if you already have Google Chrome 44 where it is broken and thus inaccessible.

Remeber to deactivate and remove the plugin once the next version of Google Chrome is releasd. It is planned to be on the 27.07.2015 and a fix should already be a part of the release.

5. USEFUL LINKS:

Innitial Spunmonkey mention about the problem:
http://spunmonkey.design/chrome-beta-44-causing-problems-with-httpsssl/
https://ma.ttias.be/chrome-44-sending-https-header-by-mistake-breaking-web-applications-everywhere/

Chromium Project Bug Tracker:
https://code.google.com/p/chromium/issues/detail?id=505268 https://code.google.com/p/chromium/issues/detail?id=501842

6. CONTRIBUTORS

Thanks to Tom Sommer and Daniel Ruf for the active approach in making the plugin better.

7. BUY ME A COFFEE:

Did this fix help you? Or even saved a lot of troubles?
Well, it did for me and our business IshYoBoy.com - Premium WordPress Themes.

I am always open to invitations for a hot cup of coffee in the form of a donation. Enjoy this fix!

About

A quick fix for the Google Chrome v.44 breaking WordPress sites due to forcing HTTPS instead of standard HTTP requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages