block-xray-attributes icon indicating copy to clipboard operation
block-xray-attributes copied to clipboard

Broken: Update PluginDocumentSettingPanel to load from new location

Open salcode opened this issue 1 year ago • 1 comments

This PR works for WordPress 6.6 but is not backwards compatible with older versions of WordPress core (e.g. WordPress 6.5)

See #31

salcode avatar Jul 26 '24 20:07 salcode

If I'm following correctly, this fails in older versions of WordPress because of the dependencies.

https://github.com/salcode/block-xray-attributes/blob/516c3f71a4f48a8f75295150dd0df6355cc31551/block-xray-attributes.php#L30

Before Updating @wordpress/scripts

["wp-components","wp-compose","wp-data","wp-edit-post","wp-element","wp-i18n","wp-plugins"]

After Updating @wordpress/scripts

["react-jsx-runtime","wp-components","wp-compose","wp-data","wp-editor","wp-element","wp-i18n","wp-plugins"]

react-jsx-runtime and wp-editor are new dependencies, while wp-edit-post has been removed

salcode avatar Jul 26 '24 20:07 salcode