wp_check_widget_editor_deps
- %1$s is private and should not be used in themes or plugins directly.
wp_check_widget_editor_deps ( No parameters )
- Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Displays a _doing_it_wrong() message for conflicting widget editor scripts.The 'wp-editor' script module is exposed as window.wp.editor. This overrides
the legacy TinyMCE editor module which is required by the widgets editor.
Because of that conflict, these two shouldn't be enqueued together.
See https://core.trac.wordpress.org/ticket/53569.
There is also another conflict related to styles where the block widgets
editor is hidden if a block enqueues 'wp-edit-post' stylesheet.
See https://core.trac.wordpress.org/ticket/53569.