From e46ffeb5b12e3f2ee208a92dc58f752ebe43e154 Mon Sep 17 00:00:00 2001 From: Robert Anderson Date: Fri, 4 Jun 2021 00:39:57 +0000 Subject: [PATCH] Enable Meta and Nav Menu widgets in Legacy Widget block Allows users to insert a Meta or Nav Menu widget using the Legacy Widget block, as there is not yet a block equivalent for the Meta and Nav Menu widgets. Fixes #53301. Props celloexpressions, andraganescu. git-svn-id: https://develop.svn.wordpress.org/trunk@51067 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-editor.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-includes/block-editor.php b/src/wp-includes/block-editor.php index 5a92e55d2b..3234c4ad1f 100644 --- a/src/wp-includes/block-editor.php +++ b/src/wp-includes/block-editor.php @@ -245,7 +245,6 @@ function get_default_block_editor_settings() { 'media_image', 'media_gallery', 'media_video', - 'meta', 'search', 'text', 'categories', @@ -253,7 +252,6 @@ function get_default_block_editor_settings() { 'recent-comments', 'rss', 'tag_cloud', - 'nav_menu', 'custom_html', 'block', )