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

Commit

Permalink
Remove source='plugin' from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Dec 15, 2021
1 parent e71414b commit 7e4f122
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Utils/BlockTemplateUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ public static function gutenberg_build_template_result_from_file( $template_file
$template->id = 'woocommerce//' . $template_file->slug;
$template->theme = 'WooCommerce';
$template->content = self::gutenberg_inject_theme_attribute_in_content( $template_content );
$template->source = 'plugin';
$template->slug = $template_file->slug;
$template->type = $template_type;
$template->title = ! empty( $template_file->title ) ? $template_file->title : self::convert_slug_to_title( $template_file->slug );
Expand Down

0 comments on commit 7e4f122

Please sign in to comment.