Plugin Directory

Changeset 3313211


Ignore:
Timestamp:
06/17/2025 11:24:35 AM (8 months ago)
Author:
webgrafia
Message:

Version 0.6.4: Added option to hide predefined questions in chat when they are shown in content

Location:
cheshire-cat-chatbot/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cheshire-cat-chatbot/trunk/README.txt

    r3313168 r3313211  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 0.6.3
     7Stable tag: 0.6.4
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7979== Changelog ==
    8080
     81= 0.6.4 =
     82* Added option to hide predefined questions in chat when they are shown in content
     83* Improved user experience by avoiding duplicate questions display
     84* Enhanced compatibility with latest WordPress version
     85
    8186= 0.6.3 =
    8287* Added support for predefined responses in content
     
    158163== Upgrade Notice ==
    159164
     165= 0.6.4 =
     166Feature update: Added option to hide predefined questions in chat when they are shown in content, improving user experience by avoiding duplicate display of questions.
     167
    160168= 0.6.3 =
    161169Feature update: Added support for predefined responses in content, improved chat interface, and fixed various bugs for better performance and compatibility.
  • cheshire-cat-chatbot/trunk/cheshire-cat-chatbot.php

    r3313168 r3313211  
    1212 * Plugin URI:        https://cheshirecat.ai/
    1313 * Description:       A WordPress plugin to integrate the Cheshire Cat AI chatbot, offering seamless conversational AI for your site.
    14  * Version:           0.6.3
     14 * Version:           0.6.4
    1515 * Author:            Marco Buttarini
    1616 * Author URI:        https://bititup.it/
     
    3232
    3333// Define plugin constants.
    34 define( 'CHESHIRE_CAT_VERSION', '0.6.3' );
     34define( 'CHESHIRE_CAT_VERSION', '0.6.4' );
    3535define( 'CHESHIRE_CAT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    3636define( 'CHESHIRE_CAT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
  • cheshire-cat-chatbot/trunk/inc/ajax.php

    r3313168 r3313211  
    9797    check_ajax_referer( 'cheshire_ajax_nonce', 'nonce' );
    9898
     99    // Check if predefined responses should be shown in content
     100    $show_predefined_in_content = get_option( 'cheshire_plugin_show_predefined_in_content', 'off' );
     101
     102    // If predefined responses are shown in content, don't show them in chat
     103    if ( $show_predefined_in_content === 'on' ) {
     104        wp_send_json_success( array() );
     105        return;
     106    }
     107
    99108    // Get page ID if provided
    100109    $page_id = isset( $_POST['page_id'] ) ? absint( $_POST['page_id'] ) : 0;
Note: See TracChangeset for help on using the changeset viewer.