Skip to content

Commit

Permalink
Docs: Fix typo in a comment in get_block_templates().
Browse files Browse the repository at this point in the history
Follow-up to [55687].

Props dj.cowan, mukesh27.
Fixes #62023.

git-svn-id: https://develop.svn.wordpress.org/trunk@59003 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Sep 10, 2024
1 parent 19fc9c7 commit fc0d046
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 @@ -1149,7 +1149,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' )

if ( ! isset( $query['wp_id'] ) ) {
/*
* If the query has found some use templates, those have priority
* If the query has found some user templates, those have priority
* over the theme-provided ones, so we skip querying and building them.
*/
$query['slug__not_in'] = wp_list_pluck( $query_result, 'slug' );
Expand Down

0 comments on commit fc0d046

Please sign in to comment.