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

Commit

Permalink
Add comment to prevent linting error on commented out code (#6789)
Browse files Browse the repository at this point in the history
  • Loading branch information
opr authored Jul 29, 2022
1 parent 87af389 commit 03d909c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BlockTemplatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ public function get_block_templates_from_woocommerce( $slugs, $already_found_tem
foreach ( $template_files as $template_file ) {
// Skip the template if it's blockified, and we should only use classic ones.
// Until the blockified Product Grid Block is implemented, we need to always skip the blockified templates.
// phpcs:ignore Squiz.PHP.CommentedOutCode
if ( // $this->package->is_experimental_build() &&
// ! BlockTemplateUtils::should_use_blockified_product_grid_templates() &&
strpos( $template_file, 'blockified' ) !== false ) {
Expand Down

0 comments on commit 03d909c

Please sign in to comment.