Skip to content

Commit

Permalink
docs: fix type syntax _gutenberg_add_block_template_plugin_attribute() (
Browse files Browse the repository at this point in the history
#68391)


Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent 5b1dacc commit 067ee7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compat/wordpress-6.7/compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ function ( $registered_template ) use ( $template_files ) {
/**
* Hooks into `get_block_template` to add the `plugin` property when necessary.
*
* @param [WP_Block_Template|null] $block_template The found block template, or null if there isn’t one.
* @return [WP_Block_Template|null] The block template that was already found with the plugin property defined if it was registered by a plugin.
* @param WP_Block_Template|null $block_template The found block template, or null if there isn’t one.
* @return WP_Block_Template|null The block template that was already found with the plugin property defined if it was registered by a plugin.
*/
function _gutenberg_add_block_template_plugin_attribute( $block_template ) {
if ( $block_template ) {
Expand Down

0 comments on commit 067ee7b

Please sign in to comment.