-
Notifications
You must be signed in to change notification settings - Fork 1
Update import statement for PluginPostStatusInfo #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update import statement for PluginPostStatusInfo #178
Conversation
dkotter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: