humanmade / humanmade/altis-cms

Enqueued script warning for `wp-editor` on widgets screen

Open
#482 11 comments 0 reactions 1 assignee Claimed by @robindevitt View on GitHub
bug should have
Dominant language
PHP
Stars
46
Forks
4
Avg merge
14h 31m
Merged PRs (30d)
13

Description

Steps to reproduce:
1. Login to the site
2. Either view the widgets page or view widgets in the customiser
3. View query Monitor for the following error:
> wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.)

Expected to see:
No Error

A search for `wp-editor` returns it in the following plugins:
- [ElasticPress](https://github.com/10up/ElasticPress)
- [AWS Analytics - Experience Blocks](https://github.com/humanmade/aws-analytics)
- [Altis CMS](https://github.com/humanmade/altis-cms)
- [Reusable blocks](https://github.com/humanmade/altis-reusable-blocks)
- ~Yoast SEO~

#### Related PR's
- Altis CMS -> https://github.com/humanmade/altis-cms/pull/531

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.