From 6531090038017bced1cae420764a60e15a7cbb9a Mon Sep 17 00:00:00 2001 From: noisysocks Date: Fri, 4 Jun 2021 00:40: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. Built from https://develop.svn.wordpress.org/trunk@51067 git-svn-id: http://core.svn.wordpress.org/trunk@50676 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-editor.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/block-editor.php b/wp-includes/block-editor.php index 5a92e55d2b..3234c4ad1f 100644 --- a/wp-includes/block-editor.php +++ b/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', ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 63ed172f42..ad58e267a2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51066'; +$wp_version = '5.8-alpha-51067'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.