WordPress Admin pages throw blocked content error because of QEM http: ref
-
I have a fully up-to-date WordPress installation (ver 4.9.5) and am using QEM and other plugins. My website is served over httpS.
In the latest version of QEM, your settings.php file in the root of the plugin directory has the following function:
function qem_settings_scripts($hook) {
which contains the line:
wp_enqueue_style('datepicker-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
which was causing an error in Chrome Dev Tools when I was looking at ANY of my WordPress Dashboard Admin pages, with error message mentioning this exact http: path and filename as “non secure assets that have been blocked”. As my domain is httpS, this path to a non-https CDN for the css file was the problem.
I simply hacked it myself for now, but please fix so that it doesn’t break again when you release a new version of QEM.
Thanks
SPThe page I need help with: [log in to see the link]
- The topic ‘WordPress Admin pages throw blocked content error because of QEM http: ref’ is closed to new replies.