Plugin Directory

Changeset 3324022


Ignore:
Timestamp:
07/08/2025 05:08:44 AM (6 months ago)
Author:
release0
Message:

Fix when adding module type for different WP versions

Location:
release0/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release0/trunk/README.txt

    r3320031 r3324022  
    66License: GPL 2.0
    77License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    8 Stable Tag: 1.0.3
     8Stable Tag: 1.0.4
    99
    1010Develop sophisticated chat experiences effortlessly, no coding required. 
     
    3333
    3434== Changelog ==
     35= 1.0.4 =
     36* Fix when adding module type for different WP versions
     37
    3538= 1.0.3 =
    3639* Update the JS lib version
  • release0/trunk/public/class-release0-public.php

    r3309832 r3324022  
    4545    // if not your script, do nothing and return original $tag
    4646    if ('release0-module-js' === $handle) {
    47       $tag = str_replace('type', 'type="module" type', $tag);
     47      if (strpos($tag, 'id=') !== false) {
     48        $tag = str_replace('id', 'type="module" id', $tag);
     49      }else{
     50        $tag = str_replace('type', 'type="module" type', $tag);
     51      }
    4852    }
    4953    return $tag;
  • release0/trunk/release0.php

    r3320031 r3324022  
    44 * Plugin Name:       Release0
    55 * Description:       Automate customer interactions with Release0. Build AI agents that respond, collect data, and integrate seamlessly—without writing code.
    6  * Version:           1.0.3
     6 * Version:           1.0.4
    77 * Author:            Release0
    88 * Author URI:        https://release0.com/
     
    1717}
    1818
    19 define('RELEASE0_VERSION', '1.0.3');
     19define('RELEASE0_VERSION', '1.0.4');
    2020define('RELEASE0_LIB_VERSION', '1.1.6');
    2121define('RELEASE0_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.