We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While I was reviewing a theme I found following in style.css.
style.css
Detect CDN import in style.css.
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
This should be blocker I believe.
Also, may be it would be good to detect @import and recommend theme author to use proper hooks and functions to load styles and fonts.
@import
@import url(http://fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic);
The text was updated successfully, but these errors were encountered:
The cdn.php check only checks the php code, not the CSS files. It should check both.
Sorry, something went wrong.
820ebf2
No branches or pull requests
While I was reviewing a theme I found following in
style.css
.Detect CDN import in style.css.
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
This should be blocker I believe.
Also, may be it would be good to detect
@import
and recommend theme author to use proper hooks and functions to load styles and fonts.@import url(http://fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic);
The text was updated successfully, but these errors were encountered: