From c35bfc0378e5c3d9cd55763073454cf3e0067cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=83=C2=B3=C3=85=E2=80=9Akowski?= Date: Mon, 24 May 2021 10:22:08 +0000 Subject: [PATCH] Editor: Remove unused param in `get_default_block_editor_settings` Follow-up for [50776]. Props nosolosw. See #52920. git-svn-id: https://develop.svn.wordpress.org/trunk@50963 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/block-editor.php b/src/wp-includes/block-editor.php index 814433f278..542fc99d2c 100644 --- a/src/wp-includes/block-editor.php +++ b/src/wp-includes/block-editor.php @@ -235,7 +235,7 @@ function get_default_block_editor_settings() { */ function get_block_editor_settings( $editor_name, $custom_settings = array() ) { $editor_settings = array_merge( - get_default_block_editor_settings( $editor_name ), + get_default_block_editor_settings(), array( 'allowedBlockTypes' => get_allowed_block_types( $editor_name ), 'blockCategories' => get_block_categories( $editor_name ),