Skip to content

Conversation

kadamwhite
Copy link

@kadamwhite kadamwhite commented Mar 27, 2025

Description

Resolves a console warning encountered when using the current version of the plugin, encountered since this component was moved from the "editPost" to "editor" package within Gutenberg.

wp.editPost.PluginDocumentSettingPanel is deprecated since version 6.6. Please use wp.editor.PluginDocumentSettingPanel instead.

Documentation for PluginDocumentSettingPanel: https://developer.wordpress.org/block-editor/reference-guides/slotfills/plugin-document-setting-panel/

Deploy Notes

Are there any new dependencies added that should be taken into account when deploying to WordPress.org?

  • None

Steps to Test

  • Activate this plugin on a WordPress 6.6.x or 6.7.x website
  • Set SCRIPT_DEBUG to true in wp-config (otherwise these warnings will not be shown)
  • Load the editor
  • Verify no deprecation notice is shown relating to this plugin's code

…tice in WordPress 6.6+

Resolves a console warning encountered when using the current version of the plugin, encountered since this component was moved from the "editPost" to "editor" package within Gutenberg.

> wp.editPost.PluginDocumentSettingPanel is deprecated since version 6.6. Please use wp.editor.PluginDocumentSettingPanel instead.

Documentation for PluginDocumentSettingPanel: https://developer.wordpress.org/block-editor/reference-guides/slotfills/plugin-document-setting-panel/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant