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
Enqueueing external stylesheets no longer works and I get a "Stylesheet fetch error" in the AMP validation:
If I revert #4404 the validation works as expected and my styles are available on the AMP version.
functions.php
add_action( 'wp_enqueue_scripts', function () { wp_enqueue_style( 'seedlings', 'https://cms.sproutsocial.com/wp-content/themes/sprout/css/seedlings-marketing.css' ); wp_enqueue_style( 'seedlings-cdn', 'https://media.sproutsocial.com/assets/insights/css/seedlings-marketing-7ef5e60862.css' ); } );
STYLESHEET_FETCH_ERROR
With 182634c9363b897fe154c0f9db1b0f2b18fe88f5 reset:
182634c9363b897fe154c0f9db1b0f2b18fe88f5
Do not alter or remove anything below. The following sections will be managed by moderators only.
The text was updated successfully, but these errors were encountered:
Thank you. I can reproduce this issue. Will begin work shortly.
Sorry, something went wrong.
@conwaydev Here’s a 1.5.2-RC1 pre-release build with the fix for you to test: amp.zip (v1.5.2-RC1-20200403T193031Z-3102c5dea)
We've just published the 1.5.2 release to WordPress.org: https://wordpress.org/plugins/amp/
You can update now via the WordPress admin.
Release notes: https://github.com/ampproject/amp-wp/releases/tag/1.5.2
@westonruter as always thank you so much, y’all are the best
pierlon
Successfully merging a pull request may close this issue.
Bug Description
Enqueueing external stylesheets no longer works and I get a "Stylesheet fetch error" in the AMP validation:
Expected Behaviour
If I revert #4404 the validation works as expected and my styles are available on the AMP version.
Steps to reproduce
functions.php
:STYLESHEET_FETCH_ERROR
Screenshots
With
182634c9363b897fe154c0f9db1b0f2b18fe88f5
reset:Additional context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: