Skip to content

Commit

Permalink
docs: fix param name in `gutenberg_add_can_update_block_bindings_edit…
Browse files Browse the repository at this point in the history
…or_setting()` (#68390)


Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 4673738 commit cca8083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.7/block-bindings.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function gutenberg_bootstrap_server_block_bindings_sources() {
/**
* Initialize `canUpdateBlockBindings` editor setting if it doesn't exist. By default, it is `true` only for admin users.
*
* @param array $settings The block editor settings from the `block_editor_settings_all` filter.
* @param array $editor_settings The block editor settings from the `block_editor_settings_all` filter.
* @return array The editor settings including `canUpdateBlockBindings`.
*/
function gutenberg_add_can_update_block_bindings_editor_setting( $editor_settings ) {
Expand Down

0 comments on commit cca8083

Please sign in to comment.