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
This commit is contained in:
Greg Ziółkowski 2021-05-24 10:22:08 +00:00
parent 451044d24d
commit c35bfc0378

View File

@ -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 ),