Skip to content

Commit 22077ee

Browse files
committed
update version
1 parent 5c50567 commit 22077ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/block/button/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useBlockProps } from '@wordpress/block-editor'
1414

1515
// If button style is link, change BlockDiv tag from <div> to <p> to inherit theme link styles.
1616
addFilter( 'stackable.button.save.blockDiv.content', 'stackable/inheritThemeLinkStyles', ( output, props, propsToPass, blockClassNames, customAttributes, typographyInnerClassNames ) => {
17-
if ( semverCompare( props.version, '<', '3.13.11' ) ) {
17+
if ( semverCompare( props.version, '<=', '3.15.3' ) ) {
1818
return (
1919
<BlockDiv.Content
2020
{ ...useBlockProps.save( { className: blockClassNames } ) }

src/block/icon-list-item/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { addFilter } from '@wordpress/hooks'
1111

1212
// Change tag from <span> to <p> to inherit theme link styles.
1313
addFilter( 'stackable.icon-list-item.save.typography.content', 'stackable/inheritThemeLinkStyles', ( output, props, attrs, textClassNames ) => {
14-
if ( semverCompare( props.version, '<', '3.13.11' ) ) {
14+
if ( semverCompare( props.version, '<=', '3.15.3' ) ) {
1515
return (
1616
<Typography.Content
1717
attributes={ attrs }

src/block/table-of-contents/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
import { addFilter } from '@wordpress/hooks'
2222

2323
addFilter( 'stackable.table-of-contents.save.blockClasses', 'stackable/inheritThemeLinkStyles', ( output, textClasses, props ) => {
24-
if ( semverCompare( props.version, '<', '3.13.11' ) ) {
24+
if ( semverCompare( props.version, '<=', '3.15.3' ) ) {
2525
return output.filter( className => className !== 'entry-content' )
2626
}
2727

0 commit comments

Comments
 (0)