Changeset 3081822
- Timestamp:
- 05/06/2024 09:37:11 AM (22 months ago)
- File:
-
- 1 edited
-
support-board-cloud/trunk/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
support-board-cloud/trunk/index.php
r2968854 r3081822 6 6 * Plugin URI: https://cloud.board.support/ 7 7 * Description: Smart chat for better support and marketing 8 * Version: 1.0. 38 * Version: 1.0.4 9 9 * Author: Support Board 10 10 * Author URI: https://board.support/ … … 27 27 if (!$settings || empty($settings['chat-id'])) return false; 28 28 $inline_code = ''; 29 $lang = '';30 29 $page_id = get_the_ID(); 31 30 $exclusions = [$settings['visibility-ids'], $settings['visibility-post-types'], $settings['visibility-type']]; … … 64 63 if ($language) $language = '&lang=' . esc_html($language); 65 64 66 wp_enqueue_script('chat-init', 'https://cloud.board.support/account/js/init.js?id=' . esc_html($settings['chat-id']) . $language, ['jquery'], '1.0' );65 wp_enqueue_script('chat-init', 'https://cloud.board.support/account/js/init.js?id=' . esc_html($settings['chat-id']) . $language, ['jquery'], '1.0', true); 67 66 if ($inline_code) wp_add_inline_script('jquery', $inline_code); 68 67 }
Note: See TracChangeset
for help on using the changeset viewer.