Make WordPress Core

Changeset 50963


Ignore:
Timestamp:
05/24/2021 10:22:08 AM (4 years ago)
Author:
gziolo
Message:

Editor: Remove unused param in get_default_block_editor_settings

Follow-up for [50776].

Props nosolosw.
See #52920.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-editor.php

    r50959 r50963  
    236236function get_block_editor_settings( $editor_name, $custom_settings = array() ) {
    237237    $editor_settings = array_merge(
    238         get_default_block_editor_settings( $editor_name ),
     238        get_default_block_editor_settings(),
    239239        array(
    240240            'allowedBlockTypes' => get_allowed_block_types( $editor_name ),
Note: See TracChangeset for help on using the changeset viewer.