Changeset 3465448
- Timestamp:
- 02/20/2026 12:42:56 AM (6 weeks ago)
- Location:
- intufind
- Files:
-
- 34 added
- 3 edited
-
tags/1.2.1 (added)
-
tags/1.2.1/admin (added)
-
tags/1.2.1/admin/class-intufind-admin.php (added)
-
tags/1.2.1/admin/class-intufind-components.php (added)
-
tags/1.2.1/admin/css (added)
-
tags/1.2.1/admin/css/intufind-admin.css (added)
-
tags/1.2.1/admin/js (added)
-
tags/1.2.1/admin/js/intufind-admin.js (added)
-
tags/1.2.1/admin/partials (added)
-
tags/1.2.1/admin/partials/chat-display.php (added)
-
tags/1.2.1/admin/partials/recommendations-display.php (added)
-
tags/1.2.1/admin/partials/search-display.php (added)
-
tags/1.2.1/admin/partials/settings-display.php (added)
-
tags/1.2.1/admin/partials/status-display.php (added)
-
tags/1.2.1/admin/partials/sync-display.php (added)
-
tags/1.2.1/includes (added)
-
tags/1.2.1/includes/class-intufind-api.php (added)
-
tags/1.2.1/includes/class-intufind-chat-widget.php (added)
-
tags/1.2.1/includes/class-intufind-content-extractor.php (added)
-
tags/1.2.1/includes/class-intufind-exclusions.php (added)
-
tags/1.2.1/includes/class-intufind-list-columns.php (added)
-
tags/1.2.1/includes/class-intufind-mcp.php (added)
-
tags/1.2.1/includes/class-intufind-plugin.php (added)
-
tags/1.2.1/includes/class-intufind-recommendations-override.php (added)
-
tags/1.2.1/includes/class-intufind-search-override.php (added)
-
tags/1.2.1/includes/class-intufind-search-widget.php (added)
-
tags/1.2.1/includes/class-intufind-shortcodes.php (added)
-
tags/1.2.1/includes/class-intufind-sync-status.php (added)
-
tags/1.2.1/includes/class-intufind-sync.php (added)
-
tags/1.2.1/intufind.php (added)
-
tags/1.2.1/languages (added)
-
tags/1.2.1/languages/intufind.pot (added)
-
tags/1.2.1/readme.txt (added)
-
tags/1.2.1/uninstall.php (added)
-
trunk/includes/class-intufind-shortcodes.php (modified) (2 diffs)
-
trunk/intufind.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
intufind/trunk/includes/class-intufind-shortcodes.php
r3463908 r3465448 89 89 90 90 $html = '<button type="button" class="' . esc_attr( implode( ' ', $classes ) ) . '"'; 91 $html .= ' onclick=" intufindTriggerSearch()"';91 $html .= ' onclick="(window.intufindTriggerSearch||function(){window.__intufindPendingOpen=true})()"'; 92 92 $html .= ' aria-label="' . esc_attr__( 'Open search', 'intufind' ) . '"'; 93 93 $html .= ' role="search">'; … … 257 257 if (!isMac) document.documentElement.classList.add('itf-platform-other'); 258 258 259 var fallbackUrl = '<?php echo esc_url( home_url( '/?s=' ) ); ?>'; 260 261 function scheduleSearchFallback() { 262 if (window.__intufindSearchFallbackTimer) return; 263 window.__intufindSearchFallbackTimer = setTimeout(function() { 264 if (window.__intufindPendingOpen) { 265 window.__intufindPendingOpen = false; 266 window.location.href = fallbackUrl; 267 } 268 }, 4000); 269 } 270 259 271 window.intufindTriggerSearch = function() { 260 272 if (window.IntufindSearch && typeof window.IntufindSearch.open === 'function') { 261 273 window.IntufindSearch.open(); 262 274 } else { 263 window.location.href = '<?php echo esc_url( home_url( '/?s=' ) ); ?>'; 275 window.__intufindPendingOpen = true; 276 scheduleSearchFallback(); 264 277 } 265 278 }; 279 280 if (window.__intufindPendingOpen) { 281 scheduleSearchFallback(); 282 } 266 283 })(); 267 284 </script> -
intufind/trunk/intufind.php
r3463908 r3465448 4 4 * Plugin URI: https://intufind.com/integrations/wordpress 5 5 * Description: AI-powered search and chat for WordPress. Syncs your content to the cloud for semantic search, intelligent recommendations, and conversational AI. 6 * Version: 1.2. 06 * Version: 1.2.1 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 8.0 … … 26 26 * Plugin constants. 27 27 */ 28 define( 'INTUFIND_VERSION', '1.2. 0' );28 define( 'INTUFIND_VERSION', '1.2.1' ); 29 29 define( 'INTUFIND_PLUGIN_FILE', __FILE__ ); 30 30 define( 'INTUFIND_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
intufind/trunk/readme.txt
r3463908 r3465448 5 5 Tested up to: 6.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.2. 07 Stable tag: 1.2.1 8 8 WC tested up to: 9.6 9 9 License: GPLv2 or later … … 215 215 == Changelog == 216 216 217 = 1.2.1 = 218 * Fixed search shortcode not opening the modal when clicked before the widget finishes loading 219 * Added graceful fallback to native site search if the widget fails to load (CDN/network issues) 220 217 221 = 1.2.0 = 218 222 * Fixed $0 price display for WooCommerce variable products and products with a $0 sale price … … 278 282 == Upgrade Notice == 279 283 284 = 1.2.1 = 285 Fixes search shortcode failing to open when clicked before the widget loads. Adds fallback to native search if the widget is unreachable. 286 280 287 = 1.2.0 = 281 288 Fixes $0 pricing on variable products and adds price range display. New admin toggles for the search widget and floating trigger button.
Note: See TracChangeset
for help on using the changeset viewer.