Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix strip file suffix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
sunyatasattva committed Jan 19, 2022
1 parent d10bfa1 commit 39d209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/BlockTemplateUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public static function clone_template_with_new_slug( $template, $slug ) {
*/
public static function adjust_template_hierarchy( $template_hierarchy ) {
$slugs = array_map(
'gutenberg_strip_php_suffix',
'gutenberg_strip_template_file_suffix',
$template_hierarchy
);

Expand Down

0 comments on commit 39d209a

Please sign in to comment.