mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Fix typos in some DocBlocks.
Props kebbet. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52597 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -66,7 +66,7 @@ function locate_block_template( $template, $type, array $templates ) {
|
||||
);
|
||||
$index = array_search( $relative_template_path, $templates, true );
|
||||
|
||||
// If the template hiearchy algorithm has successfully located a PHP template file,
|
||||
// If the template hierarchy algorithm has successfully located a PHP template file,
|
||||
// we will only consider block templates with higher or equal specificity.
|
||||
$templates = array_slice( $templates, 0, $index + 1 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user