-
Notifications
You must be signed in to change notification settings - Fork 965
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
Add reset subcommand for sidebar #3071
Conversation
For this command, can you create a separate |
@@ -0,0 +1,67 @@ | |||
Feature: Manage WordPress sidebars |
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 should probably be "Reset WordPress sidebars"
@ernilambar I just realized this uses a lot of code copied from |
@danielbachhuber I also felt that when I had to copy functions from Widget command. I even had this crazy idea of using launch_self for some tasks, but on searching I could only found two places where it is used now. So, I assumed it is best to avoid in core commands. Since this is basically related to sidebar, I tried to keep it under sidebar command. Adding it under widget is also one approach I guess.
Re 5: There is button |
Fixes #3063