wp_check_widget_editor_deps


wp_check_widget_editor_deps ( No parameters )

Access:
  • private
Defined at:

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.

Related Functions

wp_use_widgets_block_editor, wp_setup_widgets_block_editor, wp_ajax_widgets_order, wp_image_editor, wp_parse_widget_id

Top Google Results

User discussions

wpseek mobile