-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Site Editor: Remove unused code #62286
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
Good catch 👍
Size Change: 0 B Total Size: 1.74 MB ℹ️ View Unchanged
|
Co-authored-by: Mamaduka <[email protected]> Co-authored-by: youknowriad <[email protected]>
What?
Related #52632
This is a follow-up to #62241 (comment).
Remove unused code and components in the
edit-site
package. After unification, there's no need to maintain a duplicate list of inserter media categories.Why?
block-editor/inserter-media-categories.js
hasn't been used since Site Editor: use EditorProvider instead of custom logic #56000.block-editor/block-inspector-button.js
hasn't been used since Remove Block Inspector Button #46709.P.S. @scruffian created an issue to restore
BlockInspectorButton
in editors—#56343. I think it should be restored as part of theeditor
package.Testing Instructions
Testing Instructions for Keyboard
Same.