Skip to content

Commit

Permalink
Removed PHPCS disable comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raikasdev committed Sep 26, 2023
1 parent f79c0c6 commit 812334a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/template-tags/acf-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function load_acf_block( $block_path, $cache = false, $block = [], $is_preview =
$is_not_wp_block = $post_type && 'wp_block' !== $post_type;
$is_disallowed_in_post_type = is_array( $block['post_types'] ) && ! in_array( $post_type, $block['post_types'] );

if ( $is_not_wp_block && $is_disallowed_in_post_type ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
if ( $is_not_wp_block && $is_disallowed_in_post_type ) {
return '';
}
}
Expand Down

0 comments on commit 812334a

Please sign in to comment.