{"id":194,"date":"2015-07-23T23:36:27","date_gmt":"2015-07-23T21:36:27","guid":{"rendered":"https:\/\/it.wordpress.org\/forums\/topic\/solved-chrome-ultimo-aggiornamento-bug-sparisce-css\/"},"modified":"2015-12-20T18:14:54","modified_gmt":"2015-12-20T17:14:54","slug":"solved-chrome-ultimo-aggiornamento-bug-sparisce-css","status":"publish","type":"topic","link":"https:\/\/it.wordpress.org\/support\/topic\/solved-chrome-ultimo-aggiornamento-bug-sparisce-css\/","title":{"rendered":"[SOLVED] Chrome ultimo aggiornamento bug: sparisce .css"},"content":{"rendered":"<p>L&#8217;ultimo aggiornamento di Chrome rischia di rendere i vostri CSS invisibili e di rompere i siti perch\u00e9 forza una richiesta verso https e se non \u00e8 settato sul vostro server non fa vedere per esempio i fogli di stile.<br \/>\ncome soluzione proposta e funzionante , fino a che il bug non verr\u00e0 corretto, mettere in functions.php questa funzione:<\/p>\n<p>function https_chrome44fix() {<br \/>\n  $_SERVER[&#8216;HTTPS&#8217;] = false;<br \/>\n}<br \/>\nadd_action(&#8216;init&#8217;, &#8216;https_chrome44fix&#8217;,0);<\/p>\n<p>Attenzione: \u00e8 una soluzione comunque provvisoria, che  funziona per chi non ha un server SSL attivo e configurato.<\/p>\n<p>Potrebbe essere risolta nei prossimi aggiornamenti del browser Chrome, da tenere sotto controllo.<\/p>\n","protected":false},"template":"","class_list":["post-194","topic","type-topic","status-publish","hentry","topic-tag-bug","topic-tag-chrome","topic-tag-https"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":3,"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/194\/revisions"}],"predecessor-version":[{"id":552,"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/194\/revisions\/552"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}