From 7205748d4a17dbbb97d33be70806a977ddc24872 Mon Sep 17 00:00:00 2001 From: Saulo Padilha Date: Wed, 24 Jun 2026 19:01:37 -0300 Subject: [PATCH 1/3] [MOOSE-407]: Fix animation classes accumulating in Additional CSS Class field --- .../js/editor/block-animations/index.js | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/wp-content/themes/core/assets/js/editor/block-animations/index.js b/wp-content/themes/core/assets/js/editor/block-animations/index.js index a5869ad1f..f7eaef951 100644 --- a/wp-content/themes/core/assets/js/editor/block-animations/index.js +++ b/wp-content/themes/core/assets/js/editor/block-animations/index.js @@ -142,16 +142,9 @@ const animationControls = createHigherOrderComponent( ( BlockEdit ) => { animationPosition, } = attributes; - let blockClass = - attributes.className !== undefined ? attributes.className : ''; const blockStyles = { ...props.style }; if ( animationType !== undefined && animationType !== 'none' ) { - // set block class for animation direction & animation position, if it's not set to the default - blockClass = `${ - blockClass !== '' ? blockClass + ' ' : '' - }is-animated-on-scroll-${ animationPosition } tribe-animation-type-${ animationType } tribe-animation-direction-${ animationDirection }`; - // set block styles for animation duration if ( animationDuration !== undefined && animationDuration ) { blockStyles[ '--tribe-animation-speed' ] = animationDuration; @@ -165,31 +158,14 @@ const animationControls = createHigherOrderComponent( ( BlockEdit ) => { blockStyles[ '--tribe-animation-delay' ] = animationDelay; } - // set block class for disabling animation delays on mobile - if ( - animationMobileDisableDelay !== undefined && - animationMobileDisableDelay - ) { - blockClass = `${ blockClass } tribe-animation-mobile-disable-delay`; - } - // set block styles for animation easing if ( animationEasing !== undefined && animationEasing ) { blockStyles[ '--tribe-animation-easing' ] = animationEasing; } - - // set block class for triggering animation multiple times - if ( animationTrigger !== undefined && animationTrigger ) { - blockClass = `${ blockClass } tribe-animate-multiple`; - } } const blockProps = { ...props, - attributes: { - ...attributes, - className: blockClass, - }, style: blockStyles, }; From e0e89de44030d53b236fd228dc4dedca1ecbd7be Mon Sep 17 00:00:00 2001 From: Saulo Padilha Date: Wed, 24 Jun 2026 19:12:37 -0300 Subject: [PATCH 2/3] [MOOSE-407]: Update CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ae91f6bd..f9a034029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Each changelog entr item (Added, Changed, Depreciated, Removed, Fixed, Security). ## [2026.06] +- Fix: Animation classes accumulating in block "Additional CSS Class(es)" field. +- Fix: Animation classes accumulating in block "Additional CSS Class(es)" field. - Chore: WordPress Core update to v7.0, plugins, Composer & NPM deps updates. update ESLint config file format. ## [2026.05] From 9dfaff042a5dbdfd0f16b337d8bb5ead965a8a75 Mon Sep 17 00:00:00 2001 From: Saulo Padilha Date: Wed, 24 Jun 2026 19:18:02 -0300 Subject: [PATCH 3/3] [MOOSE-407]: Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9a034029..aa5d50173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ item (Added, Changed, Depreciated, Removed, Fixed, Security). ## [2026.06] - Fix: Animation classes accumulating in block "Additional CSS Class(es)" field. -- Fix: Animation classes accumulating in block "Additional CSS Class(es)" field. +- Fix: Search card excerpt visibility now correctly checks `has_post_excerpt()` instead of `has_post_date()`. - Chore: WordPress Core update to v7.0, plugins, Composer & NPM deps updates. update ESLint config file format. ## [2026.05]