Update import statement for PluginPostStatusInfo#178
Conversation
dkotter
left a comment
There was a problem hiding this comment.
So this works fine on WordPress 6.6 but our minimum here is still 6.4. Since the @wordpress/editor package doesn't contain the PluginPostStatusInfo component there, things break. So we'll either need to try loading from both locations or wait to make this change until 6.6 becomes our minimum
|
I'd leave that decision to you.
|
I think this all sounds like a decent approach. May be able to simplify this and import first from the |
Description of the Change
Update the import statement for
PluginPostStatusInfocomponent to use unified extensibility API.Closes #173
How to test the Change
No functional changes to the plugin.
Adding an image with HTTP source should trigger the notice in the sidebar when trying to save a post.
Changelog Entry
Credits
Props @username, ...
Checklist: