wordpress-indieweb icon indicating copy to clipboard operation
wordpress-indieweb copied to clipboard

Installer Stylesheet Not Using a Correct MIME Type

Open timnolte opened this issue 4 years ago • 5 comments
trafficstars

Looking at the browser console I'm seeing a failure to load the installer.css file since it's not using a proper MIME type.

Refused to apply style from 'https://www.timnolte.com/wp-content/plugins/indieweb/assets/installer.css?ver=5.6.2' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

timnolte avatar Mar 07 '21 20:03 timnolte

Are you sure you run the latest version? The file returns a 404 issue, because we do no longer use the mentioned URL, we changed it to static/css/installer.css: https://github.com/indieweb/wordpress-indieweb/blob/trunk/includes/class-plugin-installer.php#L389

Maybe a caching problem?

pfefferle avatar Mar 08 '21 08:03 pfefferle

Also, it says ver=5.6.2 which is strange, as the plugin is at version 3.4.6

dshanske avatar May 14 '22 23:05 dshanske

It is the WordPress version.

pfefferle avatar May 15 '22 05:05 pfefferle

Yes, but the code uses the plugin version

dshanske avatar May 15 '22 10:05 dshanske

Maybe an issue with the call, so it falls back to the WP version?

pfefferle avatar May 15 '22 12:05 pfefferle