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

Commit

Permalink
Remove compatibility from all patch versions of 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunyatasattva committed Jan 5, 2023
1 parent 72b8847 commit fb61a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/blocks/product-query/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function registerProductQueryElementsNamespace(
return props;
}

if ( isWpVersion( '6.0', '>' ) ) {
if ( isWpVersion( '6.1', '>=' ) ) {
addFilter(
'blocks.registerBlockType',
'core/custom-class-name/attribute',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {

const VARIATION_NAME = 'woocommerce/product-query';

if ( isWpVersion( '6.0', '>' ) ) {
if ( isWpVersion( '6.1', '>=' ) ) {
registerBlockVariation( QUERY_LOOP_ID, {
description: __(
'A block that displays a selection of products in your store.',
Expand Down

0 comments on commit fb61a0c

Please sign in to comment.