Changeset 3496593
- Timestamp:
- 04/01/2026 01:01:45 PM (37 hours ago)
- Location:
- boxedchat-chat-widget/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (2 diffs)
-
boxedchat-chat-widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boxedchat-chat-widget/trunk/README.txt
r3496550 r3496593 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.2. 37 Stable tag: 1.2.4 8 8 License: GPL v2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 1.2.4 = 82 - Improved OAuth authentication flow 83 81 84 = 1.2.3 = 82 85 - Improved security with API key management -
boxedchat-chat-widget/trunk/boxedchat-chat-widget.php
r3496550 r3496593 3 3 * Plugin Name: BoxedChat – AI Chat Widget & Support & Helpdesk 4 4 * Description: Add a free live chat widget to your website in minutes. Talk to visitors, capture leads, and support customers with Boxed.chat. 5 * Version: 1.2. 35 * Version: 1.2.4 6 6 * Author: boxedchat 7 7 * Author URI: https://boxed.chat … … 48 48 ), $boxchat_app_url . '/auth/wp-plugin'); 49 49 50 add_filter('allowed_redirect_hosts', function( $hosts ) { 51 $hosts[] = 'boxed.chat';52 return $hosts;53 });54 55 wp_ safe_redirect(esc_url_raw($auth_url), 302, 'BoxedChat');50 51 // Use wp_redirect (not wp_safe_redirect) because the destination is always 52 // boxed.chat — our own server. wp_safe_redirect falls back to admin_url() 53 // when the external host isn't whitelisted, which causes the redirect to 54 // land on the WP dashboard instead of BoxedChat. 55 wp_redirect(esc_url_raw($auth_url), 302); 56 56 exit; 57 57 }
Note: See TracChangeset
for help on using the changeset viewer.