Skip to content
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

Unhide the classic menu widget #32431

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function gutenberg_get_legacy_widget_settings() {
'recent-comments',
'rss',
'tag_cloud',
'nav_menu',
'custom_html',
'block',
)
Expand Down Expand Up @@ -181,7 +180,6 @@ function gutenberg_get_legacy_widget_settings() {
'WP_Widget_Recent_Comments',
'WP_Widget_RSS',
'WP_Widget_Tag_Cloud',
'WP_Nav_Menu_Widget',
'WP_Widget_Custom_HTML',
)
);
Expand Down Expand Up @@ -276,7 +274,7 @@ function gutenberg_register_block_widget() {

/**
* Sets show_instance_in_rest to true on all of the core WP_Widget subclasses.
* When merge dto Core, this property should be added to WP_Widget and set to
* When merged to Core, this property should be added to WP_Widget and set to
* true on each WP_Widget subclass.
*/
function gutenberg_set_show_instance_in_rest_on_core_widgets() {
Expand Down