Plugin Directory

Changeset 3451741


Ignore:
Timestamp:
02/02/2026 06:01:38 AM (8 weeks ago)
Author:
nexron
Message:

Version 2.0.10 release

Location:
nexron-ai-chat
Files:
28 added
7 edited

Legend:

Unmodified
Added
Removed
  • nexron-ai-chat/trunk/nexron-ai-chat-admin-script.js

    r3379252 r3451741  
    4242window.addEventListener('message', async (event) => {
    4343
    44     console.log(event.data.type);
    4544    switch (event.data.type) {
    4645        case 'nexron-plugin-initialize':
     
    169168                        <p>Test mode is currently active. ONLY administrators will be able to see and interact with the Nexron AI Chatbot on the website.</p>
    170169                    </div>
    171                     <div id="nexron_ai_chat_test_mode_button_container" style="display: flex; justify-content: right;">
    172                         <a id="nexron_ai_chat_test_mode_button" class="button button-primary" onclick="toggle_test_mode()">Live Mode</a>
     170                    <div id="nexron_ai_chat_test_mode_button_container" class="nexron-ai-chat" style="display: flex; justify-content: right;">
     171                        <a id="nexron_ai_chat_test_mode_button" class="nexron-ai-chat button button-primary" onclick="toggle_test_mode()">Live Mode</a>
    173172                    </div>`
    174173    } else {
     
    180179                        <p>Live mode is currently active. ALL website visitors will be able to see and interact with the Nexron AI Chatbot on the website.</p>
    181180                    </div>
    182                     <div id="nexron_ai_chat_test_mode_button_container" style="display: flex; justify-content: right;">
     181                    <div id="nexron_ai_chat_test_mode_button_container" class="nexron-ai-chat" style="display: flex; justify-content: right;">
    183182                        <a id="nexron_ai_chat_test_mode_button" class="button button-primary" onclick="toggle_test_mode()">Test Mode</a>
    184183                    </div>`
  • nexron-ai-chat/trunk/nexron-ai-chat-options.php

    r3370872 r3451741  
    33 * nexron-ai-chat DB
    44*/
     5
     6// Exit if accessed directly
     7if (!defined('ABSPATH')) {
     8    exit;
     9}
    510
    611// DB Store
  • nexron-ai-chat/trunk/nexron-ai-chat-products.php

    r3406465 r3451741  
    33 * nexron-ai-chat ecommerce functionality
    44*/
     5
     6// Exit if accessed directly
     7if (!defined('ABSPATH')) {
     8    exit;
     9}
    510
    611// Verify WooCommerce is active
  • nexron-ai-chat/trunk/nexron-ai-chat.php

    r3411754 r3451741  
    33 * Plugin Name:  Nexron AI Chat
    44 * Description:  Nexron AI Chat is a powerful chatbot plugin for WordPress websites, helping visitors easily access website information through conversation.
    5  * Version:      2.0.9
     5 * Version:      2.0.10
    66 * Author:       Nexron LLC
    77 * Author URI:   https://www.nexron.ai
     
    1515*/
    1616
    17 define( 'nexron_ai_chat_version', '2.0.9' );
     17define( 'nexron_ai_chat_version', '2.0.10' );
    1818
    1919/*
     
    2525    exit;
    2626}
     27
     28function nexron_ai_chat_enqueue_styles() {
     29    // Register the style
     30    wp_register_style( 'nexron_ai_chat-style', plugins_url( '/nexron-ai-chat-style.css', __FILE__ ), array(), '1.0.0', 'all' );
     31   
     32    // Enqueue the style
     33    wp_enqueue_style( 'nexron_ai_chat-style' );
     34}
     35// Hook into the 'wp_enqueue_scripts' action for the frontend
     36add_action( 'admin_enqueue_scripts', 'nexron_ai_chat_enqueue_styles' );
     37// Use 'admin_enqueue_scripts' for the admin area, if needed
    2738
    2839function nexron_ai_chat_enqueue_admin_scripts()
  • nexron-ai-chat/trunk/readme.txt

    r3411754 r3451741  
    33Requires at least: 5.0
    44Tested up to: 6.9
    5 Stable tag: 2.0.9
     5Stable tag: 2.0.10
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    112112== Changelog ==
    113113
     114= 2.0.10 - 2026-02-02 =
     115* Improvement: Add Stable tag to repo.
     116* Improvement: Add Nexron stylesheet.
     117* Improvement: Add PHP direct file access prevention.
     118
    114119= 2.0.9 - 2025-12-05 =
    115120* Updated tested up to 6.9
Note: See TracChangeset for help on using the changeset viewer.