Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer Stylesheet Not Using a Correct MIME Type #165

Open
timnolte opened this issue Mar 7, 2021 · 5 comments
Open

Installer Stylesheet Not Using a Correct MIME Type #165

timnolte opened this issue Mar 7, 2021 · 5 comments
Assignees
Labels

Comments

@timnolte
Copy link

timnolte commented Mar 7, 2021

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.

@pfefferle
Copy link
Member

pfefferle commented Mar 8, 2021

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 pfefferle self-assigned this Mar 8, 2021
@dshanske
Copy link
Member

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

@pfefferle
Copy link
Member

It is the WordPress version.

@dshanske
Copy link
Member

Yes, but the code uses the plugin version

@pfefferle
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants