-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 PHP code #36997
Conversation
Did this code ever make it to Core? Just checking we don't need to backport these changes. |
I did search core and couldn't find these filters/callbacks. |
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.
This code was useful when the "templates" and "template parts" menu were visible in WP Admin. It's not the case anymore so yeah it's dead code.
2ce790c
to
abf178d
Compare
4b5ecb2
to
1dcf599
Compare
I rebased this to (hopefully) fix failing tests. |
* Site Editor: Remove unused PHP code * Remove templates edit link tests * Remove moved files * Remove filters
Description
Now that we have a custom Templates and Template Parts list page (#36379), there's no need to modify the default WP List Table.
PR removes unused filters and their callbacks.
How has this been tested?
debug.log
Types of changes
Code Quality
Checklist:
*.native.js
files for terms that need renaming or removal).