-
Notifications
You must be signed in to change notification settings - Fork 65
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
Widget screen blank with 5.8 #1386
Comments
Also noting if the above can be resolved (which I'm doing probably incorrectly in a test branch right now), this error that's related to the AMP fallback JavaScript is thrown:
Best I can tell some widget previews create iframes that pull in front-end code (including the AMP fallback JS): Adding a check if |
🎉 This issue has been resolved in version 1.39.3-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.39.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
When running the WP 5.8 beta (currently beta 4) and the Newspack theme, if you navigate to WP Admin > Appearance > Widgets, the screen is blank.
This doesn't happen with a default theme; when you view the console you get the following errors:
Commenting out where
newspack-post-meta-toggles
is enqueued makes the error go away.It looks like this is related to scripts added with
enqueue_block_editor_assets
being included on this screen so the blocks will work as expected, and us using that to enqueue the newspack-post-meta-toggles, which then tries to figure out the post type before doing anything (which seems to be where things fall apart).The text was updated successfully, but these errors were encountered: