Skip to content

Commit

Permalink
Docs: Fix typo in _get_block_template_file() DocBlock.
Browse files Browse the repository at this point in the history
Follow-up to [55744].

See #59651.

git-svn-id: https://develop.svn.wordpress.org/trunk@57349 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jan 24, 2024
1 parent 616e673 commit fa441af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function _get_block_templates_paths( $base_directory ) {
* @param string $template_type 'wp_template' or 'wp_template_part'.
* @param string $slug Template slug.
* @return array|null {
* Array with template metadata if $template_type is one of 'wp_template' or 'wp_template_part'.
* Array with template metadata if $template_type is one of 'wp_template' or 'wp_template_part',
* null otherwise.
*
* @type string $slug Template slug.
Expand Down

0 comments on commit fa441af

Please sign in to comment.