Plugin Directory

Changeset 3789400


Ignore:
Timestamp:
11/07/2026 10:51:05 AM (61 minutes ago)
Author:
heymyra
Message:

Update to version 1.4.1 from GitHub

Location:
heymyra-ai-sales-assistant
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • heymyra-ai-sales-assistant/tags/1.4.1/heymyra-ai-sales-assistant.php

    r3787842 r3789400  
    44 * Plugin URI:        https://heymyra.be/
    55 * Description:       Adds Myra, the AI sales assistant that advises your visitors by voice and in writing. After activation, click "Connect my site to Myra": that's all.
    6  * Version:           1.4.0
     6 * Version:           1.4.1
    77 * Requires at least: 6.5
    88 * Requires PHP:      7.4
    … …  
    1818}
    1919
    20 define( 'MYRA_VERSION', '1.4.0' );
     20define( 'MYRA_VERSION', '1.4.1' );
    2121define( 'MYRA_DEFAULT_SERVER', 'https://heymyra.be' );
    2222
    … …  
    110110}
    111111add_action( 'admin_init', 'myra_handle_connect_return' );
     112
     113/* ------------------------------------------------------------------------
     114 * Cache des pages : beaucoup de sites gardent une copie toute faite de leurs
     115 * pages (LiteSpeed chez Hostinger, WP Rocket, W3 Total Cache...). Une copie
     116 * faite avant la connexion ne contient pas Myra : on vide ces copies des que
     117 * la cle change, pour que Myra apparaisse (ou disparaisse) tout de suite.
     118 * Chaque outil n'est appele que s'il est installe.
     119 * ---------------------------------------------------------------------- */
     120function myra_purge_page_caches() {
     121        do_action( 'litespeed_purge_all' );
     122        if ( function_exists( 'rocket_clean_domain' ) ) {
     123                rocket_clean_domain();
     124        }
     125        if ( function_exists( 'w3tc_flush_all' ) ) {
     126                w3tc_flush_all();
     127        }
     128        if ( function_exists( 'wp_cache_clear_cache' ) ) {
     129                wp_cache_clear_cache();
     130        }
     131        if ( function_exists( 'sg_cachepress_purge_cache' ) ) {
     132                sg_cachepress_purge_cache();
     133        }
     134}
     135add_action( 'add_option_myra_site_key', 'myra_purge_page_caches' );
     136add_action( 'update_option_myra_site_key', 'myra_purge_page_caches' );
     137add_action( 'delete_option_myra_site_key', 'myra_purge_page_caches' );
     138register_deactivation_hook( __FILE__, 'myra_purge_page_caches' );
    112139
    113140/** Juste apres l'activation : direction la page de Myra. */
  • heymyra-ai-sales-assistant/tags/1.4.1/readme.txt

    r3787842 r3789400  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7272== Changelog ==
    7373
     74= 1.4.1 =
     75* Myra appears right after connecting, even on sites with a page cache: the cache of LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache and SiteGround Optimizer is cleared when Myra is connected or disconnected.
     76
    7477= 1.4.0 =
    7578* Plugin renamed HeyMyra - AI Sales Assistant.
    … …  
    98101== Upgrade Notice ==
    99102
     103= 1.4.1 =
     104Myra now appears immediately after connecting, even if your site uses a page cache.
     105
    100106= 1.3.0 =
    101107Myra is now loaded following WordPress recommendations. Nothing to do on your side.
  • heymyra-ai-sales-assistant/trunk/heymyra-ai-sales-assistant.php

    r3787842 r3789400  
    44 * Plugin URI:        https://heymyra.be/
    55 * Description:       Adds Myra, the AI sales assistant that advises your visitors by voice and in writing. After activation, click "Connect my site to Myra": that's all.
    6  * Version:           1.4.0
     6 * Version:           1.4.1
    77 * Requires at least: 6.5
    88 * Requires PHP:      7.4
    … …  
    1818}
    1919
    20 define( 'MYRA_VERSION', '1.4.0' );
     20define( 'MYRA_VERSION', '1.4.1' );
    2121define( 'MYRA_DEFAULT_SERVER', 'https://heymyra.be' );
    2222
    … …  
    110110}
    111111add_action( 'admin_init', 'myra_handle_connect_return' );
     112
     113/* ------------------------------------------------------------------------
     114 * Cache des pages : beaucoup de sites gardent une copie toute faite de leurs
     115 * pages (LiteSpeed chez Hostinger, WP Rocket, W3 Total Cache...). Une copie
     116 * faite avant la connexion ne contient pas Myra : on vide ces copies des que
     117 * la cle change, pour que Myra apparaisse (ou disparaisse) tout de suite.
     118 * Chaque outil n'est appele que s'il est installe.
     119 * ---------------------------------------------------------------------- */
     120function myra_purge_page_caches() {
     121        do_action( 'litespeed_purge_all' );
     122        if ( function_exists( 'rocket_clean_domain' ) ) {
     123                rocket_clean_domain();
     124        }
     125        if ( function_exists( 'w3tc_flush_all' ) ) {
     126                w3tc_flush_all();
     127        }
     128        if ( function_exists( 'wp_cache_clear_cache' ) ) {
     129                wp_cache_clear_cache();
     130        }
     131        if ( function_exists( 'sg_cachepress_purge_cache' ) ) {
     132                sg_cachepress_purge_cache();
     133        }
     134}
     135add_action( 'add_option_myra_site_key', 'myra_purge_page_caches' );
     136add_action( 'update_option_myra_site_key', 'myra_purge_page_caches' );
     137add_action( 'delete_option_myra_site_key', 'myra_purge_page_caches' );
     138register_deactivation_hook( __FILE__, 'myra_purge_page_caches' );
    112139
    113140/** Juste apres l'activation : direction la page de Myra. */
  • heymyra-ai-sales-assistant/trunk/readme.txt

    r3787842 r3789400  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7272== Changelog ==
    7373
     74= 1.4.1 =
     75* Myra appears right after connecting, even on sites with a page cache: the cache of LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache and SiteGround Optimizer is cleared when Myra is connected or disconnected.
     76
    7477= 1.4.0 =
    7578* Plugin renamed HeyMyra - AI Sales Assistant.
    … …  
    98101== Upgrade Notice ==
    99102
     103= 1.4.1 =
     104Myra now appears immediately after connecting, even if your site uses a page cache.
     105
    100106= 1.3.0 =
    101107Myra is now loaded following WordPress recommendations. Nothing to do on your side.
Note: See TracChangeset for help on using the changeset viewer.