-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enqueued script warning for wp-editor
on widgets screen
#482
Comments
wp-editor
on widgets screen
Need to list out all plugins that use this and carry out necessary refactoring, making reliance on
|
Starting to look into this and it appears that Yoast SEO had changes done and the only issued plugins are
|
I have dug through this and starting to pull my hair out a little. I have figured I need to focus on a single module at a time as that makes the most amount of sense and once the solution is figured out for the one, it's easier to roll out a fix for the rest. I have made the change manually to ElasticPress until I have the solution and can then submit an issue to the original repo. I have gone and disabled the 3 modules : Viewing the widgets screen I no longer see the enqueued script warning for I have then enabled the I think I was being pretty hopeful thinking to remove the Within Query Monitor it has the following for showing the error, may I be looking in the wrong spot initially? I am trying to figure out if there is something else I should be looking for that would resolve the issue. |
Figured out cloning some of the modules into the |
@robindevitt might have to double check the name of the cloned repo, ensure the directory names match the |
Didn't know you could disable the CMS module tbh as that's WordPress! From what I recall seeing there are 2 things in the CMS module that generate this warning:
Start by disabling the reusable blocks function so you can focus on one thing at a time. Have you found anything from searching the web about this warning? We're using the hook What are the differences between |
I'm disabling the cms module with the below int he config which seems to disable functionality like authorship despite it being enabled.
I'm starting to looking into the differences between I found that using Most of the research I have come across is mostly returning other support queries for plugins and nothing concrete to work from. Based from your comment and my latest findings late the afternoon I'll dig into it a bit deeper tomorrow. |
Rather than try disabling the CMS module wholesale just switch off the sub-components that are causing the problems one by one as you go through the errors. Does Not sure if you've seen these docs but they detail what each JS package provides: It looks like we'll need to factor in the new edit-site and edit-navigation packages too with WP 5.9. |
I came across this article where it says don't use @wordpress/editor, but doesn't give any feedback as to what should be used instead.
|
I tried to tackle this issue within the AWS Analytics Plugin and got stuck, given this is a Some notes of what I have looked into/ discoverd. I identified all locations where the I started with trying to resolve this enqueued script first. I found the original posted error message is being generated when both Removing both, breaks the A/B test functionality, with the following note:
Replacing Keeping
I was using the dependencies on the widget area using the below code:
I have a feeling that we might need to have an |
If the code has a direct dependency on functions provided by the Did you find out if there's an equivalent to |
Steps to reproduce:
Expected to see:
No Error
A search for
wp-editor
returns it in the following plugins:Yoast SEORelated PR's
The text was updated successfully, but these errors were encountered: