mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
451044d24d
commit
c35bfc0378
@ -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 ),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user