Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing return value when not defined
  • Loading branch information
srtfisher committed Apr 4, 2024
commit 6b397eb71df1231b5b1a778c1f1228d9b8ad71d5
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 @@ -243,7 +243,7 @@ function _get_block_templates_paths( $base_directory ) {
} else {
$template_path_list[ $base_directory ] = array();
}
return $path_list;
return $template_path_list[ $base_directory ];
}

/**
Expand Down