Changeset 3645937
- Timestamp:
- 08/13/2026 05:36:49 PM (2 months ago)
- Location:
- answermage-ai-chat-widget
- Files:
-
- 4 added
- 4 edited
- 1 copied
-
assets/banner-1544x500.png (added)
-
assets/banner-772x250.png (added)
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
tags/1.0.1 (copied) (copied from answermage-ai-chat-widget/trunk )
-
tags/1.0.1/answermage.php (modified) (5 diffs)
-
tags/1.0.1/readme.txt (modified) (4 diffs)
-
trunk/answermage.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
answermage-ai-chat-widget/tags/1.0.1/answermage.php
r3522627 r3645937 4 4 * Plugin URI: https://answermage.com/wordpress 5 5 * Description: Add an AI-powered chat widget to your WordPress site. Train it on your content and let it answer visitor questions 24/7. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 18 18 } 19 19 20 define( 'ANSWERMAGE_VERSION', '1.0. 0' );20 define( 'ANSWERMAGE_VERSION', '1.0.1' ); 21 21 define( 'ANSWERMAGE_OPTION_KEY', 'answermage_api_key' ); 22 22 define( 'ANSWERMAGE_WIDGET_URL', 'https://api.answermage.com/widget/answermage.min.js' ); … … 28 28 add_action( 'admin_init', 'answermage_handle_connect_return' ); 29 29 function answermage_handle_connect_return() { 30 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- the nonce 31 // travels in the `state` param and is verified below, before anything is stored. 30 32 if ( 31 ! isset( $_GET['page'] ) || $_GET['page'] !== 'answermage'||32 ! isset( $_GET['answermage_api_key'], $_GET['state'])33 ! isset( $_GET['page'], $_GET['answermage_api_key'], $_GET['state'] ) || 34 'answermage' !== sanitize_key( wp_unslash( $_GET['page'] ) ) 33 35 ) { 34 36 return; … … 120 122 $is_active = ! empty( $api_key ); 121 123 $just_connected = isset( $_GET['answermage_connected'], $_GET['_answermage_nonce'] ) 122 && '1' === $_GET['answermage_connected']124 && '1' === sanitize_key( wp_unslash( $_GET['answermage_connected'] ) ) 123 125 && wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['_answermage_nonce'] ) ), 'answermage_connected' ); 124 126 ?> … … 201 203 value="<?php echo esc_attr( $api_key ); ?>" 202 204 class="regular-text" 203 placeholder=" am_xxxxxxxxxxxxxxxxxxxxxxxx"205 placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" 204 206 autocomplete="off" 205 207 spellcheck="false" -
answermage-ai-chat-widget/tags/1.0.1/readme.txt
r3522627 r3645937 3 3 Tags: chatbot, ai, chat, customer support, live chat 4 4 Requires at least: 5.8 5 Tested up to: 6.96 Stable tag: 1.0. 05 Tested up to: 7.1 6 Stable tag: 1.0.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 38 38 == Installation == 39 39 40 1. Upload the `answermage` folder to `/wp-content/plugins/`, or install directly from the WordPress Plugin Directory40 1. Search for **AnswerMage** under **Plugins → Add New**, or upload the `answermage-ai-chat-widget` folder to `/wp-content/plugins/` 41 41 2. Activate the plugin through the **Plugins** menu in WordPress 42 42 3. Go to **Settings → AnswerMage** … … 101 101 == Changelog == 102 102 103 = 1.0.1 = 104 * Corrected the API key field placeholder to match the actual key format. 105 * Hardened request handling on the settings screen. 106 * Confirmed compatibility with WordPress 7.1. 107 103 108 = 1.0.0 = 104 109 * Initial release. … … 106 111 == Upgrade Notice == 107 112 113 = 1.0.1 = 114 Compatibility with WordPress 7.1 and a corrected API key placeholder. 115 108 116 = 1.0.0 = 109 117 Initial release. -
answermage-ai-chat-widget/trunk/answermage.php
r3522627 r3645937 4 4 * Plugin URI: https://answermage.com/wordpress 5 5 * Description: Add an AI-powered chat widget to your WordPress site. Train it on your content and let it answer visitor questions 24/7. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 18 18 } 19 19 20 define( 'ANSWERMAGE_VERSION', '1.0. 0' );20 define( 'ANSWERMAGE_VERSION', '1.0.1' ); 21 21 define( 'ANSWERMAGE_OPTION_KEY', 'answermage_api_key' ); 22 22 define( 'ANSWERMAGE_WIDGET_URL', 'https://api.answermage.com/widget/answermage.min.js' ); … … 28 28 add_action( 'admin_init', 'answermage_handle_connect_return' ); 29 29 function answermage_handle_connect_return() { 30 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- the nonce 31 // travels in the `state` param and is verified below, before anything is stored. 30 32 if ( 31 ! isset( $_GET['page'] ) || $_GET['page'] !== 'answermage'||32 ! isset( $_GET['answermage_api_key'], $_GET['state'])33 ! isset( $_GET['page'], $_GET['answermage_api_key'], $_GET['state'] ) || 34 'answermage' !== sanitize_key( wp_unslash( $_GET['page'] ) ) 33 35 ) { 34 36 return; … … 120 122 $is_active = ! empty( $api_key ); 121 123 $just_connected = isset( $_GET['answermage_connected'], $_GET['_answermage_nonce'] ) 122 && '1' === $_GET['answermage_connected']124 && '1' === sanitize_key( wp_unslash( $_GET['answermage_connected'] ) ) 123 125 && wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['_answermage_nonce'] ) ), 'answermage_connected' ); 124 126 ?> … … 201 203 value="<?php echo esc_attr( $api_key ); ?>" 202 204 class="regular-text" 203 placeholder=" am_xxxxxxxxxxxxxxxxxxxxxxxx"205 placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" 204 206 autocomplete="off" 205 207 spellcheck="false" -
answermage-ai-chat-widget/trunk/readme.txt
r3522627 r3645937 3 3 Tags: chatbot, ai, chat, customer support, live chat 4 4 Requires at least: 5.8 5 Tested up to: 6.96 Stable tag: 1.0. 05 Tested up to: 7.1 6 Stable tag: 1.0.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 38 38 == Installation == 39 39 40 1. Upload the `answermage` folder to `/wp-content/plugins/`, or install directly from the WordPress Plugin Directory40 1. Search for **AnswerMage** under **Plugins → Add New**, or upload the `answermage-ai-chat-widget` folder to `/wp-content/plugins/` 41 41 2. Activate the plugin through the **Plugins** menu in WordPress 42 42 3. Go to **Settings → AnswerMage** … … 101 101 == Changelog == 102 102 103 = 1.0.1 = 104 * Corrected the API key field placeholder to match the actual key format. 105 * Hardened request handling on the settings screen. 106 * Confirmed compatibility with WordPress 7.1. 107 103 108 = 1.0.0 = 104 109 * Initial release. … … 106 111 == Upgrade Notice == 107 112 113 = 1.0.1 = 114 Compatibility with WordPress 7.1 and a corrected API key placeholder. 115 108 116 = 1.0.0 = 109 117 Initial release.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)