Changeset 3239625
- Timestamp:
- 02/12/2025 07:44:44 PM (11 months ago)
- Location:
- ilachat/trunk
- Files:
-
- 4 edited
-
ilachat.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Admin/Admin.php (modified) (2 diffs)
-
templates/admin/settings-page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ilachat/trunk/ilachat.php
r3239573 r3239625 12 12 * Plugin URI: https://ila.chat 13 13 * Description: Integrate ILACHAT with WordPress to add AI-powered chatbot and live chat for seamless customer support and engagement. 14 * Version: 1.0. 114 * Version: 1.0.2 15 15 * Requires at least: 6.2 16 16 * Requires PHP: 7.4.0 … … 43 43 44 44 // Define constants 45 define('ILACHAT_VERSION', '1.0. 1');45 define('ILACHAT_VERSION', '1.0.2'); 46 46 define('ILACHAT_ROOT', __FILE__); 47 47 define('ILACHAT_PATH', plugin_dir_path(ILACHAT_ROOT)); -
ilachat/trunk/readme.txt
r3239582 r3239625 4 4 Tags: chatbot, live chat, AI chatbot, customer support, AI assistant 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: GPL v3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 50 50 == Changelog == 51 51 52 = 1.0.2 = 53 * Fixed `Warning: Undefined variable $bot_data` in `settings-page.php`. 54 * Added a settings link to the plugin action links. 55 52 56 = 1.0.1 = 53 57 * Fixed namespace conflict causing a parse error in PHP 7.4. -
ilachat/trunk/src/Admin/Admin.php
r3232792 r3239625 21 21 add_action('current_screen', [$this, 'remove_notices']); 22 22 add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts']); 23 add_filter('plugin_action_links_' . ILACHAT_BASENAME, [$this, 'add_settings_link']); 23 24 } 24 25 … … 107 108 ]); 108 109 } 110 111 /** 112 * Adds a settings link to the plugin in the plugins list. 113 * 114 * @param array $links The existing links for the plugin. 115 * 116 * @return array 117 */ 118 public function add_settings_link($links) 119 { 120 $settings_url = esc_url(admin_url('admin.php?page=ilachat-settings')); 121 $settings_link = '<a href="' . $settings_url . '">' . __('Settings', 'ilachat') . '</a>'; 122 array_unshift($links, $settings_link); 123 return $links; 124 } 109 125 } -
ilachat/trunk/templates/admin/settings-page.php
r3232792 r3239625 5 5 } 6 6 7 $bot_data = $args['bot_data'] ?? []; 7 8 $bot_id = $bot_data['id'] ?? 0; 8 9 $customize_url = "https://app.ila.chat/user/dashboard/{$bot_id}/settings/deployment/widget";
Note: See TracChangeset
for help on using the changeset viewer.