Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #839: wp-cli script to add test widgets to sidebar.
Adds an instance of every default WordPress widget to the first registered sidebar. First, it checks if a widget with the same settings exists in the sidebar. Then, it conditionally creates the widget. And adds all of them to the sidebar. Mainly copies amp_get_widget_id() from import_theme_starter_content(). Props @westonruter.
- Loading branch information