Plugin Directory

Changeset 3124847


Ignore:
Timestamp:
07/24/2024 09:00:57 PM (19 months ago)
Author:
cliengo
Message:

patch error on upgrade version 3.0.4

Location:
cliengo
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cliengo/tags/3.0.4/README.txt

    r3118703 r3124847  
    44Tags: cliengo, chatbot, leads
    55Requires at least: 4.4
    6 Tested up to: 6.5.5
    7 Stable tag: 3.0.3
     6Tested up to: 6.6.1
     7Stable tag: 3.0.4
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    7878= 3.0.3 =
    7979* Limit access for not authorized users
     80= 3.0.4 =
     81* Patch upgrade version error
    8082
    8183== Upgrade Notice ==
  • cliengo/tags/3.0.4/cliengo.php

    r3118688 r3124847  
    1717 * Plugin URI:        http://cliengo.com/?utm_source=wordpress_plugin&utm_medium=wordpress
    1818 * Description:       Cliengo helps you escalate your business process by automating the different points of contact with your customers and providing 24/7 responses. Multi-language: English/Spanish/Portuguese
    19  * Version:           3.0.3
     19 * Version:           3.0.4
    2020 * Author:            Cliengo
    2121 * Author URI:        http://cliengo.com/?utm_source=wordpress_plugin&utm_medium=wordpress
     
    4040 * Rename this for your plugin and update it as you release new versions.
    4141 */
    42 define( 'CLIENGO_VERSION', '3.0.3' );
     42define( 'CLIENGO_VERSION', '3.0.4' );
    4343
    4444/**
  • cliengo/tags/3.0.4/public/class-cliengo-public.php

    r3118649 r3124847  
    9292       * Since we fucked it up with script_install_cliengo.js dev -> prod, we should must regenerate script before rendering
    9393       */
    94       if (isset($chatbot_token) && isset($chatbot_token->option_value)) {
    95         Cliengo_Form::create_install_code_cliengo($chatbot_token->option_value);
     94      if (isset($chatbot_token) && !empty($chatbot_token)) {
     95        Cliengo_Form::create_install_code_cliengo($chatbot_token);
    9696      }
    9797
     
    101101
    102102
    103       if ($position_chatbot->option_value == 'left')
     103      if ($position_chatbot == 'left')
    104104      {
    105105        wp_enqueue_script( 'position_chatbot', plugin_dir_url( __FILE__ ) . 'js/position_chatbot.js', array(), $this->version, false );
  • cliengo/trunk/README.txt

    r3118703 r3124847  
    44Tags: cliengo, chatbot, leads
    55Requires at least: 4.4
    6 Tested up to: 6.5.5
    7 Stable tag: 3.0.3
     6Tested up to: 6.6.1
     7Stable tag: 3.0.4
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    7878= 3.0.3 =
    7979* Limit access for not authorized users
     80= 3.0.4 =
     81* Patch upgrade version error
    8082
    8183== Upgrade Notice ==
  • cliengo/trunk/cliengo.php

    r3118688 r3124847  
    1717 * Plugin URI:        http://cliengo.com/?utm_source=wordpress_plugin&utm_medium=wordpress
    1818 * Description:       Cliengo helps you escalate your business process by automating the different points of contact with your customers and providing 24/7 responses. Multi-language: English/Spanish/Portuguese
    19  * Version:           3.0.3
     19 * Version:           3.0.4
    2020 * Author:            Cliengo
    2121 * Author URI:        http://cliengo.com/?utm_source=wordpress_plugin&utm_medium=wordpress
     
    4040 * Rename this for your plugin and update it as you release new versions.
    4141 */
    42 define( 'CLIENGO_VERSION', '3.0.3' );
     42define( 'CLIENGO_VERSION', '3.0.4' );
    4343
    4444/**
  • cliengo/trunk/public/class-cliengo-public.php

    r3118649 r3124847  
    9292       * Since we fucked it up with script_install_cliengo.js dev -> prod, we should must regenerate script before rendering
    9393       */
    94       if (isset($chatbot_token) && isset($chatbot_token->option_value)) {
    95         Cliengo_Form::create_install_code_cliengo($chatbot_token->option_value);
     94      if (isset($chatbot_token) && !empty($chatbot_token)) {
     95        Cliengo_Form::create_install_code_cliengo($chatbot_token);
    9696      }
    9797
     
    101101
    102102
    103       if ($position_chatbot->option_value == 'left')
     103      if ($position_chatbot == 'left')
    104104      {
    105105        wp_enqueue_script( 'position_chatbot', plugin_dir_url( __FILE__ ) . 'js/position_chatbot.js', array(), $this->version, false );
Note: See TracChangeset for help on using the changeset viewer.