Parsely / wp-parsely

The official WordPress plugin for Parse.ly - makes it a snap to add the required tracking code to enable Parse.ly on your WordPress site.
https://wordpress.org/plugins/wp-parsely/
GNU General Public License v2.0
63 stars 32 forks source link

Fix Gutenberg deprecation warnings #2667

Closed vaurdan closed 1 month ago

vaurdan commented 1 month ago

Describe the bug

Since the release of WordPress 6.6, the PCH is triggering some deprecation warnings in the browser console.

core/edit-post interface scope is deprecated and will be removed in version 6.6. Please use core interface scope instead. Note: core/edit-post and core/edit-site are merging.

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

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

We'll need to take a closer look at each of these warnings, and try to address them in the plugin.

To Reproduce

  1. On WordPress 6.6, go to the block editor, and open the browser console.
  2. The warnings should be visible.

Expected behavior

Open the browser console and do not have any deprecation warnings

Screenshots

image

Environment

WordPress 6.6 with the latest plugin version (3.16.2)

Additional context