Plugin Directory

Changeset 3418008


Ignore:
Timestamp:
12/12/2025 08:20:11 AM (2 months ago)
Author:
themeisle
Message:

Update to version 3.1.4 from GitHub

Location:
blocks-animation
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blocks-animation/tags/3.1.4/blocks-animation.php

    r3390297 r3418008  
    1111 * Plugin URI:        https://github.com/Codeinwp/otter-blocks
    1212 * Description:       Blocks Animation allows you to add CSS Animations to all of your Gutenberg blocks in the most elegent way.
    13  * Version:           3.1.3
     13 * Version:           3.1.4
    1414 * Author:            ThemeIsle
    1515 * Author URI:        https://themeisle.com
  • blocks-animation/tags/3.1.4/readme.md

    r3390297 r3418008  
    33**Tags:** gutenberg, block, block editor, editor, animation, animations, animate, styles, block animations 
    44**Requires at least:** 6.2 
    5 **Tested up to:** 6.8 
     5**Tested up to:** 6.9 
    66**Requires PHP:** 5.4 
    7 **Stable tag:** 3.1.3 
     7**Stable tag:** 3.1.4 
    88**License:** GPLv3 
    99**License URI:** https://www.gnu.org/licenses/gpl-3.0.en.html 
  • blocks-animation/tags/3.1.4/readme.txt

    r3390297 r3418008  
    33Tags: gutenberg, block, block editor, editor, animation, animations, animate, styles, block animations
    44Requires at least: 6.2
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 5.4
    7 Stable tag: 3.1.3
     7Stable tag: 3.1.4
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
  • blocks-animation/tags/3.1.4/vendor/codeinwp/themeisle-sdk/CHANGELOG.md

    r3390297 r3418008  
     1##### [Version 3.3.50](https://github.com/Codeinwp/themeisle-sdk-main/compare/v3.3.49...v3.3.50) (2025-11-25)
     2
     3> Things are getting better every day. 🚀
     4
    15##### [Version 3.3.49](https://github.com/Codeinwp/themeisle-sdk-main/compare/v3.3.48...v3.3.49) (2025-09-18)
    26
  • blocks-animation/tags/3.1.4/vendor/codeinwp/themeisle-sdk/load.php

    r3390297 r3418008  
    1515}
    1616// Current SDK version and path.
    17 $themeisle_sdk_version = '3.3.49';
     17$themeisle_sdk_version = '3.3.50';
    1818$themeisle_sdk_path    = dirname( __FILE__ );
    1919
  • blocks-animation/tags/3.1.4/vendor/codeinwp/themeisle-sdk/src/Loader.php

    r3390297 r3418008  
    332332     */
    333333    public static function init() {
    334         /**
    335          * This filter can be used to localize the labels inside each product.
    336          */
    337         self::$labels = apply_filters( 'themeisle_sdk_labels', self::$labels );
     334        self::localize_labels();
    338335        if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Loader ) ) {
    339336            self::$instance = new Loader();
     
    347344
    348345            add_action( 'themeisle_sdk_first_activation', array( __CLASS__, 'activate' ) );
    349         }
     346       
     347        }
     348    }
     349   
     350    /**
     351     * Localize the labels.
     352     */
     353    public static function localize_labels() {
     354        $originals        = self::$labels;
     355        $all_translations = [];
     356
     357        global $wp_filter;
     358        if ( isset( $wp_filter['themeisle_sdk_labels'] ) ) {
     359            foreach ( $wp_filter['themeisle_sdk_labels']->callbacks as $priority => $hooks ) {
     360                foreach ( $hooks as $hook ) {
     361                    // Each callback gets fresh originals, not previous callback's output
     362                    $result             = call_user_func( $hook['function'], $originals );
     363                    $all_translations[] = $result;
     364                }
     365            }
     366           
     367            // Remove the filter so it doesn't run again via apply_filters
     368            remove_all_filters( 'themeisle_sdk_labels' );
     369        }
     370
     371        // Merge all results, first real translation wins
     372        self::$labels = self::merge_all_translations( $originals, $all_translations );
     373    }
     374    /**
     375     * Merge all translations.
     376     *
     377     * @param array $originals The original labels.
     378     * @param array $all_translations The all translations.
     379     *
     380     * @return array The merged labels.
     381     */
     382    private static function merge_all_translations( $originals, $all_translations ) {
     383        $result = $originals;
     384       
     385        foreach ( $all_translations as $translations ) {
     386            $result = self::merge_if_translated( $result, $translations, $originals );
     387        }
     388       
     389        return $result;
     390    }
     391    /**
     392     * Merge if translated.
     393     *
     394     * @param array $current The current labels.
     395     * @param array $new The new labels.
     396     * @param array $originals The original labels.
     397     * @return array The merged labels.
     398     */
     399    private static function merge_if_translated( $current, $new, $originals ) {
     400        foreach ( $new as $key => $value ) {
     401            if ( ! isset( $originals[ $key ] ) ) {
     402                // New key, accept it
     403                if ( ! isset( $current[ $key ] ) ) {
     404                    $current[ $key ] = $value;
     405                }
     406                continue;
     407            }
     408           
     409            if ( is_array( $value ) && is_array( $originals[ $key ] ) ) {
     410                $current[ $key ] = self::merge_if_translated(
     411                    $current[ $key ],
     412                    $value,
     413                    $originals[ $key ]
     414                );
     415            } else {
     416                // Only accept if:
     417                // 1. New value is actually translated (differs from original)
     418                // 2. Current value is NOT already translated
     419                $is_new_translated       = ( $value !== $originals[ $key ] );
     420                $is_current_untranslated = ( $current[ $key ] === $originals[ $key ] );
     421               
     422                if ( $is_new_translated && $is_current_untranslated ) {
     423                    $current[ $key ] = $value;
     424                }
     425            }
     426        }
     427       
     428        return $current;
    350429    }
    351430
  • blocks-animation/tags/3.1.4/vendor/codeinwp/themeisle-sdk/src/Modules/Announcements.php

    r3390297 r3418008  
    246246        }
    247247
     248        $logo_url           = ! empty( $data['logo_url'] ) ? $data['logo_url'] : $this->get_sdk_uri() . 'assets/images/themeisle-logo.png';
     249        $cta_label          = ! empty( $data['cta_label'] ) ? $data['cta_label'] : Loader::$labels['announcements']['notice_link_label'];
    248250        $sale_url           = ! empty( $data['sale_url'] ) ? $data['sale_url'] : '';
    249251        $hide_other_notices = ! empty( $data['hide_other_notices'] ) ? $data['hide_other_notices'] : ! $can_dismiss;
     
    341343                    <img
    342344                        width="45"
    343                         src="<?php echo esc_url( $this->get_sdk_uri() . 'assets/images/themeisle-logo.png' ); ?>"
     345                        src="<?php echo esc_url( $logo_url ); ?>"
    344346                    />
    345347                </div>
     
    361363                        class="button button-primary themeisle-sale-button"
    362364                    >
    363                     <?php echo esc_html( Loader::$labels['announcements']['notice_link_label'] ); ?>
     365                    <?php echo esc_html( $cta_label ); ?>
    364366                    </a>
    365367                </div>
  • blocks-animation/tags/3.1.4/vendor/composer/installed.json

    r3390297 r3418008  
    33        {
    44            "name": "codeinwp/themeisle-sdk",
    5             "version": "3.3.49",
    6             "version_normalized": "3.3.49.0",
     5            "version": "3.3.50",
     6            "version_normalized": "3.3.50.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/Codeinwp/themeisle-sdk.git",
    10                 "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20"
     10                "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/605f78bbbd8526f7597a89077791043d9ecc8c20",
    15                 "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20",
     14                "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/3c1f8dfc2390e667bbc086c5d660900a7985efa6",
     15                "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6",
    1616                "shasum": ""
    1717            },
     
    2020                "yoast/phpunit-polyfills": "^2.0"
    2121            },
    22             "time": "2025-09-18T13:41:05+00:00",
     22            "time": "2025-11-25T19:36:35+00:00",
    2323            "type": "library",
    2424            "installation-source": "dist",
     
    4141            "support": {
    4242                "issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
    43                 "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.49"
     43                "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.50"
    4444            },
    4545            "install-path": "../codeinwp/themeisle-sdk"
  • blocks-animation/tags/3.1.4/vendor/composer/installed.php

    r3390297 r3418008  
    22    'root' => array(
    33        'name' => 'codeinwp/blocks-animation',
    4         'pretty_version' => '3.1.3',
    5         'version' => '3.1.3.0',
     4        'pretty_version' => '3.1.4',
     5        'version' => '3.1.4.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
     
    1212    'versions' => array(
    1313        'codeinwp/blocks-animation' => array(
    14             'pretty_version' => '3.1.3',
    15             'version' => '3.1.3.0',
     14            'pretty_version' => '3.1.4',
     15            'version' => '3.1.4.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
     
    2121        ),
    2222        'codeinwp/themeisle-sdk' => array(
    23             'pretty_version' => '3.3.49',
    24             'version' => '3.3.49.0',
    25             'reference' => '605f78bbbd8526f7597a89077791043d9ecc8c20',
     23            'pretty_version' => '3.3.50',
     24            'version' => '3.3.50.0',
     25            'reference' => '3c1f8dfc2390e667bbc086c5d660900a7985efa6',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../codeinwp/themeisle-sdk',
  • blocks-animation/trunk/blocks-animation.php

    r3390297 r3418008  
    1111 * Plugin URI:        https://github.com/Codeinwp/otter-blocks
    1212 * Description:       Blocks Animation allows you to add CSS Animations to all of your Gutenberg blocks in the most elegent way.
    13  * Version:           3.1.3
     13 * Version:           3.1.4
    1414 * Author:            ThemeIsle
    1515 * Author URI:        https://themeisle.com
  • blocks-animation/trunk/readme.md

    r3390297 r3418008  
    33**Tags:** gutenberg, block, block editor, editor, animation, animations, animate, styles, block animations 
    44**Requires at least:** 6.2 
    5 **Tested up to:** 6.8 
     5**Tested up to:** 6.9 
    66**Requires PHP:** 5.4 
    7 **Stable tag:** 3.1.3 
     7**Stable tag:** 3.1.4 
    88**License:** GPLv3 
    99**License URI:** https://www.gnu.org/licenses/gpl-3.0.en.html 
  • blocks-animation/trunk/readme.txt

    r3390297 r3418008  
    33Tags: gutenberg, block, block editor, editor, animation, animations, animate, styles, block animations
    44Requires at least: 6.2
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 5.4
    7 Stable tag: 3.1.3
     7Stable tag: 3.1.4
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
  • blocks-animation/trunk/vendor/codeinwp/themeisle-sdk/CHANGELOG.md

    r3390297 r3418008  
     1##### [Version 3.3.50](https://github.com/Codeinwp/themeisle-sdk-main/compare/v3.3.49...v3.3.50) (2025-11-25)
     2
     3> Things are getting better every day. 🚀
     4
    15##### [Version 3.3.49](https://github.com/Codeinwp/themeisle-sdk-main/compare/v3.3.48...v3.3.49) (2025-09-18)
    26
  • blocks-animation/trunk/vendor/codeinwp/themeisle-sdk/load.php

    r3390297 r3418008  
    1515}
    1616// Current SDK version and path.
    17 $themeisle_sdk_version = '3.3.49';
     17$themeisle_sdk_version = '3.3.50';
    1818$themeisle_sdk_path    = dirname( __FILE__ );
    1919
  • blocks-animation/trunk/vendor/codeinwp/themeisle-sdk/src/Loader.php

    r3390297 r3418008  
    332332     */
    333333    public static function init() {
    334         /**
    335          * This filter can be used to localize the labels inside each product.
    336          */
    337         self::$labels = apply_filters( 'themeisle_sdk_labels', self::$labels );
     334        self::localize_labels();
    338335        if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Loader ) ) {
    339336            self::$instance = new Loader();
     
    347344
    348345            add_action( 'themeisle_sdk_first_activation', array( __CLASS__, 'activate' ) );
    349         }
     346       
     347        }
     348    }
     349   
     350    /**
     351     * Localize the labels.
     352     */
     353    public static function localize_labels() {
     354        $originals        = self::$labels;
     355        $all_translations = [];
     356
     357        global $wp_filter;
     358        if ( isset( $wp_filter['themeisle_sdk_labels'] ) ) {
     359            foreach ( $wp_filter['themeisle_sdk_labels']->callbacks as $priority => $hooks ) {
     360                foreach ( $hooks as $hook ) {
     361                    // Each callback gets fresh originals, not previous callback's output
     362                    $result             = call_user_func( $hook['function'], $originals );
     363                    $all_translations[] = $result;
     364                }
     365            }
     366           
     367            // Remove the filter so it doesn't run again via apply_filters
     368            remove_all_filters( 'themeisle_sdk_labels' );
     369        }
     370
     371        // Merge all results, first real translation wins
     372        self::$labels = self::merge_all_translations( $originals, $all_translations );
     373    }
     374    /**
     375     * Merge all translations.
     376     *
     377     * @param array $originals The original labels.
     378     * @param array $all_translations The all translations.
     379     *
     380     * @return array The merged labels.
     381     */
     382    private static function merge_all_translations( $originals, $all_translations ) {
     383        $result = $originals;
     384       
     385        foreach ( $all_translations as $translations ) {
     386            $result = self::merge_if_translated( $result, $translations, $originals );
     387        }
     388       
     389        return $result;
     390    }
     391    /**
     392     * Merge if translated.
     393     *
     394     * @param array $current The current labels.
     395     * @param array $new The new labels.
     396     * @param array $originals The original labels.
     397     * @return array The merged labels.
     398     */
     399    private static function merge_if_translated( $current, $new, $originals ) {
     400        foreach ( $new as $key => $value ) {
     401            if ( ! isset( $originals[ $key ] ) ) {
     402                // New key, accept it
     403                if ( ! isset( $current[ $key ] ) ) {
     404                    $current[ $key ] = $value;
     405                }
     406                continue;
     407            }
     408           
     409            if ( is_array( $value ) && is_array( $originals[ $key ] ) ) {
     410                $current[ $key ] = self::merge_if_translated(
     411                    $current[ $key ],
     412                    $value,
     413                    $originals[ $key ]
     414                );
     415            } else {
     416                // Only accept if:
     417                // 1. New value is actually translated (differs from original)
     418                // 2. Current value is NOT already translated
     419                $is_new_translated       = ( $value !== $originals[ $key ] );
     420                $is_current_untranslated = ( $current[ $key ] === $originals[ $key ] );
     421               
     422                if ( $is_new_translated && $is_current_untranslated ) {
     423                    $current[ $key ] = $value;
     424                }
     425            }
     426        }
     427       
     428        return $current;
    350429    }
    351430
  • blocks-animation/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Announcements.php

    r3390297 r3418008  
    246246        }
    247247
     248        $logo_url           = ! empty( $data['logo_url'] ) ? $data['logo_url'] : $this->get_sdk_uri() . 'assets/images/themeisle-logo.png';
     249        $cta_label          = ! empty( $data['cta_label'] ) ? $data['cta_label'] : Loader::$labels['announcements']['notice_link_label'];
    248250        $sale_url           = ! empty( $data['sale_url'] ) ? $data['sale_url'] : '';
    249251        $hide_other_notices = ! empty( $data['hide_other_notices'] ) ? $data['hide_other_notices'] : ! $can_dismiss;
     
    341343                    <img
    342344                        width="45"
    343                         src="<?php echo esc_url( $this->get_sdk_uri() . 'assets/images/themeisle-logo.png' ); ?>"
     345                        src="<?php echo esc_url( $logo_url ); ?>"
    344346                    />
    345347                </div>
     
    361363                        class="button button-primary themeisle-sale-button"
    362364                    >
    363                     <?php echo esc_html( Loader::$labels['announcements']['notice_link_label'] ); ?>
     365                    <?php echo esc_html( $cta_label ); ?>
    364366                    </a>
    365367                </div>
  • blocks-animation/trunk/vendor/composer/installed.json

    r3390297 r3418008  
    33        {
    44            "name": "codeinwp/themeisle-sdk",
    5             "version": "3.3.49",
    6             "version_normalized": "3.3.49.0",
     5            "version": "3.3.50",
     6            "version_normalized": "3.3.50.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/Codeinwp/themeisle-sdk.git",
    10                 "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20"
     10                "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/605f78bbbd8526f7597a89077791043d9ecc8c20",
    15                 "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20",
     14                "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/3c1f8dfc2390e667bbc086c5d660900a7985efa6",
     15                "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6",
    1616                "shasum": ""
    1717            },
     
    2020                "yoast/phpunit-polyfills": "^2.0"
    2121            },
    22             "time": "2025-09-18T13:41:05+00:00",
     22            "time": "2025-11-25T19:36:35+00:00",
    2323            "type": "library",
    2424            "installation-source": "dist",
     
    4141            "support": {
    4242                "issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
    43                 "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.49"
     43                "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.50"
    4444            },
    4545            "install-path": "../codeinwp/themeisle-sdk"
  • blocks-animation/trunk/vendor/composer/installed.php

    r3390297 r3418008  
    22    'root' => array(
    33        'name' => 'codeinwp/blocks-animation',
    4         'pretty_version' => '3.1.3',
    5         'version' => '3.1.3.0',
     4        'pretty_version' => '3.1.4',
     5        'version' => '3.1.4.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
     
    1212    'versions' => array(
    1313        'codeinwp/blocks-animation' => array(
    14             'pretty_version' => '3.1.3',
    15             'version' => '3.1.3.0',
     14            'pretty_version' => '3.1.4',
     15            'version' => '3.1.4.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
     
    2121        ),
    2222        'codeinwp/themeisle-sdk' => array(
    23             'pretty_version' => '3.3.49',
    24             'version' => '3.3.49.0',
    25             'reference' => '605f78bbbd8526f7597a89077791043d9ecc8c20',
     23            'pretty_version' => '3.3.50',
     24            'version' => '3.3.50.0',
     25            'reference' => '3c1f8dfc2390e667bbc086c5d660900a7985efa6',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../codeinwp/themeisle-sdk',
Note: See TracChangeset for help on using the changeset viewer.