*** WooCommerce Predictive Search Changelog *** = 6.4.0 - 2024/01/23 = * This feature release adds support for Add to Cart functionality from search box results, a code tweak and compatibility with WordPress 6.4.2 and WooCommerce 8.5.1. * Feature - Add support for Add to Cart button to show on the Search Box dropdown results. * Feature - New Add to Cart button feature can be added by search widget, search PHP function, predictive search shortcode and predictive search block. * Tweak - Test for compatibility with WooCommerce 8.5.1 * Tweak - Test for compatibility with WordPress 6.4.2 * Tweak - Change depreciated media_buttons_context hook to media_buttons. = 6.3.1 - 2023/12/11 = * This release has a search results page bug fix plus compatibility with WooCommerce version 8.3.1 * Tweak - Test for compatibility with WooCommerce 8.3.1 * Fix - Correct compress script version of search result page from version 6.3.0 = 6.3.0 - 2023/12/08 = * This release adds a new developer trigger for firing custom scripts on Product Cards on search results pages. * Dev - Define trigger “ps-result-items-added” after items are appended to search results page so 3rd party plugins can catch this event and add their custom script, for example masonry all items again. = 6.2.1 - 2023/11/22 = * This maintenance release has plugin framework updates for compatibility with PHP 8.1 onwards, plus compatibility with WordPress 6.4.1 and WooCommerce 8.2 * Tweak - Remove backward compatibility for WooCommerce versions less than 6.0 * Tweak - Test for compatibility with WooCommerce 8.2.0 * Tweak - Test for compatibility with WordPress 6.4.1 * Framework - Set parameter number of preg_match function from null to 0 for compatibility with PHP 8.1 onwards * Framework - Validate empty before call trim for option value = 6.2.0 - 2023/08/08 = * This maintenance release has tweaks and bug fixes for compatibility with WordPress 6.3.0 and WooCommerce 7.9.0 * Tweak - Test for compatibility with WooCommerce 7.9.0 * Tweak - Test for compatibility with WordPress 6.3 * Fix - Make the navigation template from Search Result page show correct for theme support FSE * Fix - Update keepPlaceholderOnFocus to keepplaceholderonfocus for work compatibility with latest version of Gutenberg * Fix - Use the layout Context from search bar block instead of use position attribute on Category Dropdown and Search Icon blocks to show in the correct position on frontend. = 6.1.1 - 2023/05/15 = * This release has a security patch that affects all previous versions. Plus compatibility with WooCommerce 7.7.0. Please update now. * Tweak - Test for compatibility with WooCommerce 7.7.0 * Security - check nonce for admin-ajax.php * Props to @mika_sec who reported the issue security issue via patchdstack * Framework - Update plugin framework to version 2.7.1 = 6.1.0 - 2023/04/25 = * This release has compatibility with WordPress 6.2.0, WooCommerce 7.6.0 plus declared compatibility with WooCommerce HPOS. * Tweak - Test for compatibility with WordPress 6.2 * Tweak - Test for compatibility with WooCommerce 7.6.0 * Tweak - Test and declare plugin compatibility with WooCommerce HPOS Custom Tables. = 6.0.1 - 2023/02/18 = * This maintenance release has 1 bug fix plus compatibility with WooCommerce version 7.4 * Tweak - Test for compatibility with WooCommerce 7.4 * Fix - Validate if key is existing before check value * Props - Thanks @peteminvalla for reporting the Key validation bug. = 6.0.0 - 2022/12/16 = * This feature release adds a Predictive Search Box shortcode generator to the plugins setting tab, Shortcode option box. * Feature - Add Predictive Search Box Shortcode creation from the Settings tab, Shortcode Option Box * Feature - Add Create Shortcode button with Pop up form and shortcode generator = 5.9.0 - 2022/12/14 = * This feature release removes the fontawesome lib and replaces icons with SVGs plus adds Default Topography option to font controls and has compatibility with WooCommerce 7.1 * Feature - Convert icon from font awesome to svg * Feature - Update styling for new svg icons * Tweak - Test for compatibility with WooCommerce 7.1 * Plugin Framework - Remove fontawesome lib * Plugin Framework - Update typography control from plugin framework to add support for Default value * Plugin Framework - Default value will get fonts set in the theme. * Plugin Framework - Change generate typography style for change on typography control = 5.8.5 - 2022/11/22 = * This maintenance release has 3 tweaks for the PHP Search Function Product Name Search results setting and compatibility with WooCommerce version 7.1 * Tweak - PHP Search Function. On first install set number of Product Name results to 6. * Tweak - PHP Search Function. For existing installs if Product Name results field is empty it will show a default 6 items. * Tweak - PHP Search Function. Update the Product Name search result help text to explain new behaviour. * Tweak - Test for compatibility with WooCommerce 7.1 = 5.8.4 - 2022/11/16 = * This maintenance release fixes Product Display number showing as 6 results, when set to 0, in search boxes added by Shortcode and PHP tag. * Tweak - Remove use dashicons on frontend and replace with svg icon for faster script load * Fix - Shortcode, when set Product Name number of items to show as 0, it shows 0 products, not 6. * Fix - PHP Tag, when set Product Name number of items to show as 0, it shows 0 products, not 6. = 5.8.3 - 2022/11/04 = * This maintenance release fixes a javascript in the last update. * Fix - Compress correct script = 5.8.2 - 2022/11/01 = * This maintenance release has a security vulnerability patch, plus compatibility with WordPress major version 6.1.0 and WooCommerce version 7.0 * Tweak - Test for compatibility with WordPress 6.1 * Tweak - Test for compatibility with WooCommerce 7.0 * Security - This release has a patch for a security vulnerability = 5.8.1 - 2022/06/01 = * This maintenance release has 2 bug fixes, one for FSE compatibility and a Search Box category dropdown issue. * Fix - Add editor_style parameter 'predictive-search-block-editor' to register_block_type for Search Form block so it supports enqueue edit style on FSE * Fix - Make default Category is selected from Category Dropdown to work properly on frontend = 5.8.0 - 2022/05/24 = * This release is for compatibility with WordPress major version 6.0 and WooCommerce version 6.5.1. It and includes various code tweaks and tweaks to harden security. * Tweak - Test for compatibility with WordPress 6.0 * Tweak - Add filter on generate_border_style_css * Tweak - Add filter on generate_border_corner_css * Tweak - Test for compatibility with WooCommerce 6.5 * Framework – Upgrade Plugin Framework to version 2.6.0 * Security - Various code hardening tweaks. * Security - Escape all $-variable * Security - Sanitize all $_REQUEST, $_GET, $_POST * Security - Apply wp_unslash before sanitize = 5.7.0 - 2022/03/07 = * This major feature release adds Post Category and Tag Taxonomies to the available Predictive Search filters plus various code security hardening tweaks. * Feature - Add Post Taxonomy Categories search filter * Feature - Add Post Taxonomy Tags search filter * Tweak - Add new Post taxonomy tables to the Predictive Search database * Tweak - Add set number of post category results to show on Search block, Search Widget, and custom search function settings * Tweak - Add set number of post tag results to show on Search block, Search Widget, and custom search function settings * Tweak - Add Post Categories and Post Tags to Exclude from Predictive Search on plugins Settings tab * Tweak - Add Post Categories and Post Tags to Auto and Manual Predictive Search Database Sync * Framework – Upgrade Plugin Framework to version 2.6.0 * Security - Various code hardening tweaks. = 5.6.0 - 2022/01/21 = * This release has a new Google Fonts API Validation feature plus compatibility with WordPress 5.9 and WooCommerce 6.1 * Feature - Add Ajax Validate button for Google Fonts API, for quick and easy Validation of API key. * Dev - Add dynamic help text to Google Font API field * Dev - Use useInnerBlocksProps instead of __experimentalUseInnerBlocksProps from latest version of Gutenberg, with backward compatibility * Tweak - Test for compatibility with WordPress 5.9 * Tweak - Test for compatibility with WooCommerce 6.1 * Tweak - Test for compatibility with latest version of Gutenberg from WordPress 5.9 * Framework - Update a3rev Plugin Framework to version 2.5.0 = 5.5.1 - 2021/11/16 = * This maintenance release has fixes for compatibility with PHP version 8.x and WooCommerce 5.9 * Tweak - Test for compatibility with PHP 8.x * Tweak - Test for compatibility with WooCommerce 5.9 * Fix - Update some defined functions without an optional parameter when followed by a required parameter. This is deprecated as of PHP 8.0.0 = 5.5.0 - 2021/10/29 = * This feature release adds an option to exclude from search results any product variation that has the same SKU as its Parent product. * Feature - Variation search by SKU, Add Global option to not show any product that has the same SKU as the Parent Product. * Feature - Add the Variation SKU's setting to the Settings Tab, Predictive Search Mode options box under the Search Mode setting. = 5.4.18 - 2021/10/28 = * This maintenance release has 2 SKU search filter bug fixes plus compatibility with WordPress 5.8.1 and WooCommerce 5.8 * Tweak - Test for compatibility with WordPress 5.8.1 * Tweak - Test for compatibility with WooCommerce 5.8 * Tweak - Update calculate for SKU count with exclude variation SKU from parent product is not published * Fix - Don't synch variation SKU if parent product is not published * Fix - Don't show result of variation SKU on search popup if parent product is not published = 5.4.17 - 2021/10/12 = * This maintenance release has 1 Search Box Shortcode bug fix. * Fix - Search box shortcode, add number of results to show for each search filter not working. = 5.4.16 - 2021/08/04 = * This maintenance release has a bug fix for Block font styles in editor and frontend. * Fix - Apply correct font style for Item Name from block on both Editor and Frontend. = 5.4.15 - 2021/07/20 = * This maintenance release has code tweaks for compatibility with WordPress Major version 5.8, WooCommerce version 5.5.1 and some Security Hardening. * Tweak - Test for compatibility with WordPress 5.8 * Tweak - Test for compatibility with Gutenberg 10.7 * Tweak - Test for compatibility with WooCommerce 5.5.1 * Tweak - Add Update URI to plugin header with unique name * Security - Add more variable, options and html escaping * Security - Get variable via name instead of use extract * Security - Added escaping for the shortcode parameters = 5.4.14 - 2021/07/14 = * This maintenance release has a fix for endless scroll not working on the Search Results page * Fix - Search Results page endless scroll script updated for compatibility with the latest jQuery version = 5.4.13 - 2021/07/12 = * This small maintenance release contains a security patch. * Security - Added escaping for the shortcode parameters = 5.4.12 - 2021/03/19 = * This maintenance release updates 23 deprecated jQuery functions for compatibility with the latest version of jQuery in WordPress 5.7 * Tweak - Update JavaScript on plugin framework for compatibility with latest version of jQuery and resolve PHP warning event shorthand is deprecated. * Tweak - Replace deprecated .change( handler ) with .on( 'change', handler ) * Tweak - Replace deprecated .change() with .trigger('change') * Tweak - Replace deprecated .focus( handler ) with .on( 'focus', handler ) * Tweak - Replace deprecated .focus() with .trigger('focus') * Tweak - Replace deprecated .click( handler ) with .on( 'click', handler ) * Tweak - Replace deprecated .click() with .trigger('click') * Tweak - Replace deprecated .select( handler ) with .on( 'select', handler ) * Tweak - Replace deprecated .select() with .trigger('select') * Tweak - Replace deprecated .blur( handler ) with .on( 'blur', handler ) * Tweak - Replace deprecated .blur() with .trigger('blur') * Tweak - Replace deprecated .resize( handler ) with .on( 'resize', handler ) * Tweak - Replace deprecated .submit( handler ) with .on( 'submit', handler ) * Tweak - Replace deprecated .scroll( handler ) with .on( 'scroll', handler ) * Tweak - Replace deprecated .mousedown( handler ) with .on( 'mousedown', handler ) * Tweak - Replace deprecated .mouseover( handler ) with .on( 'mouseover', handler ) * Tweak - Replace deprecated .mouseout( handler ) with .on( 'mouseout', handler ) * Tweak - Replace deprecated .keydown( handler ) with .on( 'keydown', handler ) * Tweak - Replace deprecated .attr('disabled', 'disabled') with .prop('disabled', true) * Tweak - Replace deprecated .removeAttr('disabled') with .prop('disabled', false) * Tweak - Replace deprecated .attr('selected', 'selected') with .prop('selected', true) * Tweak - Replace deprecated .removeAttr('selected') with .prop('selected', false) * Tweak - Replace deprecated .attr('checked', 'checked') with .prop('checked', true) * Tweak - Replace deprecated .removeAttr('checked') with .prop('checked', false) = 5.4.11 - 2021/03/08 = * This maintenance release has tweaks for compatibility with WordPress 5.7, WooCommerce 5.1 and Gutenberg 10.0 * Tweak - Test for compatibility with WordPress 5.7 * Tweak - Test for compatibility with WooCommerce 5.1.0 * Tweak - Update Typography component to version 1.0.9 for compatibility with Gutenberg 10.0.0 = 5.4.10 - 2021/01/13 = * This maintenance release is for compatibility with WooCommerce major version 4.9.0. * Tweak - Test for compatibility with WooCommerce 4.9.0 = 5.4.9 - 2020/12/30 = * This is an important maintenance release that updates our scripts for compatibility with the latest version of jQuery released in WordPress 5.6 * Tweak - Update JavaScript on plugin framework for work compatibility with latest version of jQuery * Fix - Replace .bind( event, handler ) by .on( event, handler ) for compatibility with latest version of jQuery * Fix - Replace :eq() Selector by .eq() for compatibility with latest version of jQuery * Fix - Replace .error() by .on( “error” ) for compatibility with latest version of jQuery * Fix - Replace :first Selector by .first() for compatibility with latest version of jQuery * Fix - Replace :gt(0) Selector by .slice(1) for compatibility with latest version of jQuery * Fix - Remove jQuery.browser for compatibility with latest version of jQuery * Fix - Replace jQuery.isArray() by Array.isArray() for compatibility with latest version of jQuery * Fix - Replace jQuery.isFunction(x) by typeof x === “function” for compatibility with latest version of jQuery * Fix - Replace jQuery.isNumeric(x) by typeof x === “number” for compatibility with latest version of jQuery * Fix - Replace jQuery.now() by Date.now() for compatibility with latest version of jQuery * Fix - Replace jQuery.parseJSON() by JSON.parse() for compatibility with latest version of jQuery * Fix - Remove jQuery.support for compatibility with latest version of jQuery * Fix - Replace jQuery.trim(x) by x.trim() for compatibility with latest version of jQuery * Fix - Replace jQuery.type(x) by typeof x for compatibility with latest version of jQuery * Fix - Replace .load( handler ) by .on( “load”, handler ) for compatibility with latest version of jQuery * Fix - Replace .size() by .length for compatibility with latest version of jQuery * Fix - Replace .unbind( event ) by .off( event ) for compatibility with latest version of jQuery * Fix - Replace .unload( handler ) by .on( “unload”, handler ) for compatibility with latest version of jQuery = 5.4.8 - 2020/12/16 = * This maintenance release adds block preview images for the Predictive Search block * Tweak - Add support for Block Discovery Preview = 5.4.7 - 2020/12/08 = * This maintenance release has breaking changes if you are using the Predictive Search Block. Block API v2, with no fallback to V1. Tweaks and fixes for compatibility with WordPress major version 5.6, Gutenberg 9.4 and WooCommerce 4.8.0 * Tweak - Test for compatibility with WooCommerce 4.8.0 * Tweak - Test for compatibility with WordPress 5.6 * Tweak - Test for compatibility with Gutenberg 9.4 * Tweak - Convert Predictive Search blocks to Block API version 2 for compatibility with Gutenberg 9.4 * Tweak - Update the Border component to latest version 1.0.13 * Tweak - Update the Shadow component to latest version 1.0.11 * Tweak - Update the Spacing component to latest version 1.0.10 * Tweak - Update the Typography component to latest version 1.0.8 * Fix - Replace InnerBlocks with useInnerBlocksProps as some experimental are depreciated in Gutenberg 9.x * Fix - Call setblockID via componentDidMount and componentDidUpdate for compatibility with React 17.x = 5.4.6 - 2020/11/25 = * This maintenance release fixes a PHP 7.4 fatal error * Tweak - Test for compatibility with PHP 7.4.8 * Fix - Add \ before WC() inside namespace file for it call to correct WC() of WooCommerce instead of A3Rev\WCPredictiveSearch\WC() = 5.4.5 - 2020/11/03 = * This maintenance release has a fix for the mobile dropdown close icon is not showing on frontend for not logged in users. * Fix - show the close icon of result dropdown on mobile for not logged in users = 5.4.4 - 2020/10/31 = * This maintenance release resolves a JS conflict with the WPMU Hustle plugin plus compatibility with WooCommerce 4.7.0 and WordPress 5.5.3 * Tweak - Make backbone.localstorage script load after front script of Hustle plugin to resolve the scripts conflict * Tweak - Test for compatibility with WooCommerce 4.7.0 * Tweak - Test for compatibility with WordPress 5.5.3 = 5.4.3 - 2020/09/22 = * This maintenance release adds tweaks to prevent theme styles over riding WooCommerce Price fonts in Search Box dropdown results plus compatibility with WooCommerce 4.5.2 * Tweak - Update the dynamic style on Widget & Header template adding a higher priority to Price font * Tweak - Update the dynamic style on the Search block adding higher priority to Price font * Tweak - Test for compatibility with WooCommerce 4.5.2 = 5.4.2 - 2020/09/03 = * This maintenance release resolves a conflict with jQuery helper plugin and WordPress 5.5 and adds ability for developer to show SKU in Product Card Results plus compatibility with WordPress 5.5.1 and WooCommerce 4.4.1 * Dev - Include SKU in API response data for Product name so that dev can hook to show SKU in the product name results * Tweak - Test for compatibility with WordPress 5.5.1 * Tweak - Test for compatibility with WooCommerce 4.4.1 * Fix - Update plugin framework script, remove jQuery.browser is deprecated to resolve conflict with jQuery Migrate Helper plugin = 5.4.1 - 2020/08/15 = * This maintenance release removes PS Block code if WordPress version is less than 5.5, plus a php syntax bug fix and compatibility with WooCommerce version 4.4 * Tweak - Test for compatibility with WooCommerce 4.4 * Tweak - Do not include PS Gutenberg block if site is using less than WordPress version 5.5 * Tweak - Create Notification that shows when PS Block is not included in the install * Fix - Correct php syntax for array parse to function = 5.4.0 - 2020/08/12 = * This feature release has a completely rebuilt Predictive Search Block, including PS Bock Patterns, Icon search for all devices, aria-label support, compatibility with WordPress major version 5.5 and WooCommerce 4.3.2 * Feature - Add support for clickable search icon on all devices. Previously was only on mobile devices. * Feature - Assistive Technology, add aria-label for section that does not have text visible. * Feature - Include many a3revsoftware.blockpress libs support for new Predictive Search block * Feature - Define 'Heading + Search Bar' pattern for Gutenberg Editor * Feature - Define 'Search Icon only for all devices' pattern for Gutenberg Editor * Feature - Define 'Search Bar' block as child block of 'Predictive Search' block * Feature - Define 'Category Dropdown' block as child block of 'Search Bar' block * Feature - Define 'Mobile Icon' block as child block of 'Search Bar' block * Feature - Define 'Search Icon' block as child block of 'Search Bar' block * Feature - Define 'Search Input' block as child block of 'Search Bar' block * Feature - Define 'Results Dropdown' block as child block of 'Predictive Search' block * Feature - Define 'Dropdown Close Icon' block as child block of 'Results Dropdown' block * Feature - Define 'Dropdown Title' block as child block of 'Results Dropdown' block * Feature - Define 'Dropdown Items' block as child block of 'Results Dropdown' block * Feature - Define 'Dropdown Footer' block as child block of 'Results Dropdown' block * Tweak - Test for compatibility with WordPress 5.5 * Tweak - Test for compatibility with Gutenberg 8.6 * Tweak - Test for compatibility with WooCommerce 4.3.2 * Tweak - Rebuild Predictive Search block with many settings directly on block, easier for admin to use and custom * Tweak - Update global predictive search style support for new Predictive Search block * Tweak - Update Predictive Search Templates with new structure for support new Predictive Search block * Tweak - Update custom jquery.autocomplete script for work compatibility with new Predictive Search block * Tweak - Update predictive-search-popup.backbone script for work compatibility with new Predictive Search block * Tweak - Update underscore template for work compatibility with new Predictive Search block * Tweak - Update a3revsoftware.blockpress.spacing lib to latest version 1.0.9 = 5.3.2 - 2020/03/25 = * This maintenance release is for compatibility with WooCommerce 4.0.1, WordPress 5.4, introducing Travis CI unit testing for full compliance with WordPress code standards for PHP versions 7.0 to 7.4 * Tweak - Test for compatibility with WordPress 5.4 * Tweak - Test for compatibility with WooCommerce 4.0.1 * Tweak - Run Travis CI unit build tests for PHP compatibility issues with PHP 7.0 to 7.4 * Tweak - Update Gutenberg block for compatibility with Gutenberg latest version 7.8 = 5.3.1 - 2020/02/28 = * This maintenance release contains various PHP code updates to resolve PHP warnings and depreciations in PHP 7.0 to 7.4 * Tweak - Test for compatibility with PHP 7.4 * Fix - Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings * Fix - Update global ${$option} to $GLOBALS[$option] to resolve 7.0+ PHP warnings * Fix - Update less PHP lib that use square brackets [] instead of curly braces {} for Array , depreciated in PHP 7.4 * Fix - Validate for do not use get_magic_quotes_gpc function for PHP 7.4 = 5.3.0 - 2020/02/21 = * This feature release adds the ability to show search as a Clickable icon in mobile devices. Great for showing search in areas that have limited space in mobiles. * Feature - Define new 'Click Icon to Show Search Box (mobile only)' for both Widget & Header Template * Feature - Support Click Icon to Show Search Box on mobile * Tweak - Update style and script for support show Click Icon on mobile * Tweak - Update search bar template for support Click Icon to Show Search Box on mobile = 5.2.1 - 2020/02/15 = * This maintenance release has a bug fix for sites using WPML plus compatibility with WooCommerce 3.9.2 * Tweak - Test for compatibility with WooCommerce 3.9.2 * Fix - Save 'Global Search Box Text' for site is using WPML plugin = 5.2.0 - 2020/01/09 = * This feature release completes the full refactor (frontend and backend) of the plugins PHP to Composer plus compatibility with WooCommerce 3.8.1 and WordPress 5.3.2 * Feature - Plugin Framework fully refactored to Composer for cleaner code and faster PHP code on the admin panels * Tweak - Update plugin for compatibility with new version of plugin Framework * Tweak - Test for compatibility with WordPress 5.3.2 * Tweak - Test for compatibility with WooCommerce 3.8.1 = 5.1.2 - 2019/11/11 = * This maintenance release includes compatibility for WordPress 5.3.0, WooCommerce 3.8.0 plus a security review and hardening of the plugins code. * Tweak - Test for compatibility with WordPress 5.3.0 * Tweak - Test for compatibility with WooCommerce 3.8.0 * Tweak - Remove the hard coded PHP error_reporting display errors false from compile sass to css * Dev - Replace file_get_contents with HTTP API wp_remote_get * Dev - Ensure that all inputs are sanitized and all outputs are escaped. = 5.1.1 - 2019/10/12 = * This maintenance update is to fix a Fatal Error in version 5.1.0 Predictive Search PHP function * Tweak - Test for compatibility with WooCommerce 3.7.1 * Fix - Update call to widget to namespace instead of classsname in Predicyive Search PHP function's converted to namespace = 5.1.0 - 2019/10/09 = * This feature upgrade is for the upgrade of the plugin to Composer PHP dependency manager for cleaner and faster PHP code plus 1 style tweak and a small bug fix. * Feature - Plugin fully refactored to Composer for cleaner code and faster PHP code * Tweak - Update dynamic styling generation * Fix - Apply color setting for path of vector icons = 5.0.0 - 2019/10/03 = * This feature upgrade is a major re-write of the Search box dropdown user interface in mobile phones. As massive improvement in the user experience on mobiles. * Feature - When tap Done on virtual keyboard on phone the keyboard closes but the search results dropdown remains open. Tapping Done used to close the keyboard and the dropdown. * Feature - NEW - Close Icon show at top of the mobile search box dropdown. Tap to close dropdown results. * Feature - On Widget and Header template add new Close Icon (Mobile Only) options box. * Feature - Added Icon size, colour and margin settings for the close icon * Feature - Added support for RTL for the close icon * Tweak - Remove zoom out action when tap in search box to start typing on mobile = 4.9.0 - 2019/08/27 = * This feature upgrade adds a Predictive Search Gutenberg Block to the a3 Block Collection. Important! Please be sure that you have upgraded a3 Dashboard to 2.9.0 to use these new blocks in the Gutenberg editor. * Feature - Add Predictive Search Gutenberg block * Tweak - Make search bar full wide for mobile when width as percentage is set. Applies to both search shortcode and search block = 4.8.1 - 2019/08/14 = * This maintenance update is for a Tweak and a Fix for the 4.8.0 feature version released today * Tweak - Set 12 as default result items so that it load better for grid card on many columns * Fix - Update script for check if grid container is applied masonry before called masonry for change on navigation or endless scroll = 4.8.0 - 2019/08/14 = * This feature upgrade adds support for Grid View of results on All Results Page. * Feature - Support Grid view option for Search Result Page. Apply for Products, SKU, Product Category and Product Tag only * Tweak - Test for compatibility with WooCommerce 3.7.0 = 4.7.0 - 2019/08/03 = * This Feature Upgrade adds full compatibility with Elementor Premium Template builder. Now Add Predictive Search by Widget to any Elementor template. * Feature - Add Predictive Search by widget to any area of an Elementor template * Tweak - Add Validation value for widget ON/OFF checkbox for compatibility with Elementor Template Builder = 4.6.10 - 2019/08/01 = * This maintenance upgrade is to fix a style conflict with fontawesome icons * Fix - fontawesome icons not able to get correct style on frontend when the fontawesome script is loaded on the page by theme or another plugin. = 4.6.9 - 2019/06/29 = * This is a maintenance upgrade to fix a potentially fatal error conflict with sites running PHP 7.3 plus compatibility with WordPress v 5.2.2 and WooCommerce 3.6.4 * Tweak - Test for compatibility with WooCommerce 3.6.4 * Tweak - Test for compatibility with WordPress 5.2.2 * Fix - PHP warning continue targeting switch is equivalent to break for compatibility on PHP 7.3 = 4.6.8 - 2019/04/26 = * This maintenance update has tweaks for compatibility with WordPress 5.2.0 and WooCommerce 3.6.0 major new versions whilst maintaining backward compatibility * Tweak - Test for compatibility with WordPress 5.2.0 * Tweak - Test for compatibility with WooCommerce 3.6.2 * Tweak - Custom style for search box svg icons when loaded by fontawesome script * Tweak - Update Sync feature to get Product Data from new custom lookup table released in WooCommerce v 3.6.0 * Tweak - Update Search feature to query Product Out of Stock from new custom lookup table released in WooCommerce v 3.6.0 * Tweak - Update get_woocommerce_term_meta to new WooCommerce 3.6.0 get_term_meta function * Tweak - Support for backward compatibility with WooCommerce v 3.5 = 4.6.7 - 2019/03/22 = * This maintenance update resolves and issue with PHP 7.1 non numeric value warning plus full check for compatibility with WooCommerce 3.5.6 and WordPress 5.1.1 * Tweak - Test for compatibility with WordPress 5.1.1 * Tweak - Test for compatibility with WooCommerce 3.5.6 * Fix - Correct the variable for custom search function to resolve PHP 7.1 a non numeric value warning * Credit - Thanks to Bob for reporting the PHP 7.1 PHP warning = 4.6.6 - 2019/02/02 = * Developer update. This upgrade defines a new hook that allows developers to filter the search results that are shown to users, example filter by role. See docs for notes and example code * Developer - Define new hook tag wc_ps_items_excluded for filter on excluding Product, Post, Page, Category, Tag Ids from search results, example filter results by role * Credit - Thanks to Mario for the suggestion = 4.6.5 - 2019/02/01 = * This maintenance update is for compatibility with WordPress 5.1 and WooCommerce 3.5.4 it resolves an issue with product database sync with older versions of WC and Meta box display in Gutenberg editor sidebar. * Tweak - Check is product before call is_in_stock when run products sync * Tweak - Update Predictive Search Meta box on Gutenberg editor so that it displays correctly on the editor sidebar. * Tweak - Test for compatibility with WordPress 5.1 * Tweak - Test for compatibility with WooCommerce 3.5.4 = 4.6.4 - 2018/12/18 = * This maintenance update is for compatibility with WordPress 5.0.2, WooCommerce 3.5.2 and PHP 7.3. It also includes performance updates to the plugin framework. * Tweak - Editor sidebar global Predictive Search Keyword metabox works with both Gutenberg and Classic Editor * Tweak - Test for compatibility with WordPress 5.0.2 and WordPress 4.9.9 * Tweak - Test for compatibility with WooCommerce 3.5.2 * Tweak - Create new structure for future development of Gutenberg Blocks * Framework - Performance improvement. Replace wp_remote_fopen with file_get_contents for get web fonts * Framework - Performance improvement. Define new variable `is_load_google_fonts` if admin does not require to load google fonts * Credit - Props to Derek for alerting us to the framework google fonts performance issue * Framework - Register style name for dynamic style of plugin for use with Gutenberg block * Framework - Update Modal script and style to version 4.1.1 * Framework - Update a3rev Plugin Framework to version 2.1.0 * Framework - Test and update for compatibility with PHP 7.3 = 4.6.3 - 2018/08/03 = * This maintenance update focuses on reworking the Daily Auto sync feature to resolve sync failures reported by some users. Also a refactor of the exclude from predictive search function on settings page. Includes compatibility with WordPress 4.9.8 and WooCommerce 3.4.4 * Tweak - Continue Auto Sync if it is stopped by plugin, theme or WordPress upgrade * Tweak - Remove Auto sync fail email notification PHP timeout trigger * Tweak - Do not empty full PS database when start run on main schedule Auto Sync. Empty on separate PS table when Auto Sync is running on each object * Tweak - Show static current status of object that auto sync is running when access to the Performance tab. * Tweak - Show confirm popup if admin click on Manual Sync button while Auto Sync is running in background * Tweak - Terminate Auto Sync if admin confirm run Manual Sync * Tweak - Add notice about need to keep page open when running a manual sync * Refactor - Settings > Exclude from Predictive Search. Find Products, Posts, Pages, Product Categories, Product Tags with via Search instead of get all items. Massive saving in resources when opening setting on big sites. * Tweak - Get list data for exclude feature from Predictive Search database instead of WordPress / WooCommerce databases * Tweak - Test for compatibility with WooCommerce 3.4.4 * Tweak - Test for compatibility with WordPress 4.9.8 * Framework - Convert old tooltip script to bootstrap tooltip * Framework - Update a3rev Plugin Framework to version 2.0.7 = 4.6.2 - 2018/06/26 = * This Maintenance update has tweaks to Hide From Predictive Search Results, includes Sync error log into notification emails and updates on bootstrap modal and plugin framework, plus compatibility with WooCommerce v 3.4.3 * Tweak - Move Hide from Predictive Search Results option from Predictive Search Meta box to Publish Meta box * Tweak - Update JavaScript for show/hide Predictive Search Meta box when check/uncheck on Hide from Predictive Search Results option * Tweak - Align Predictive Search option on Quick Edit * Tweak - Include Error log into Sync Failed Email Notifications * Tweak - Update plugin admin page sidebar Place card links for support and more plugins * Framework - Update Modal script and style to version 4.1.1 * Framework - Update a3rev Plugin Framework to version 2.0.5 * Tweak - Test for compatibility with WooCommerce 3.4.3 = 4.6.1 - 2018/05/26 = * This maintenance update is for compatibility with WordPress 4.9.6, WooCommerce 3.4.0 and the new GDPR compliance requirements for users in the EU. Plus new Error logging for PS Database sync * Tweak - Test for compatibility with WooCommerce 3.4.0 * Tweak - Test for compatibility with WordPress 4.9.6 * Tweak - Check for any issues with GDPR compliance. None Found * Framework - Update a3rev Plugin Framework to version 2.0.3 * Tweak - Capture Auto and manual PS database sync errors with on page log printout for debugging issues * Tweak - Capture Build Product Category Cache errors with on page log printout for debugging issues * Framework - Add error_text field for Multi Ajax Submit, this field will show if Ajax throws an error * Dev - Include PS Errors Log class for handling all plugin errors = 4.6.0 - 2018/02/13 = * Feature Upgrade - This upgrade features full integration with newly launched a3rev Dashboard including a prompt to upgrade from a3 License manager to a3rev Dashboard plus compatibility with WordPress 4.9.4 and WooCommerce 3.3.1 * Feature - Upgrade License key auto upgrades and support to a3rev Customer account authorization. * Feature - Post and reply to support tickets right from the a3rev Dashboard Support interface. * Feature - Updating a3 License manager plugin removes it and uploads the new a3rev Dashboard plugin. * Feature - License key no longer used to activate auto updates and upgrades and support. * Feature - Install a3rev Dashboard plugin and authorize it by using your a3rev.com account username and password. * Feature - Manage your account and all a3rev premium plugins from your a3rev dashboard * Feature - plugin support tickets can be posted and replied to from the a3rev Dashboard support interface. * Framework - Update a3rev Plugin Framework to version 2.0.2 * Framework - Add Framework version for all style and script files * Framework - Update Check Now feature for compatibility with a3rev Dashboard 2.3.0 * Tweak - Remove OLD license manager and tracking code * Tweak - Change OLD thumbnail image name shop_catalog to woocommerce_thumbnail for compatibility with WC 3.3.0. Support back compatibility to WooCommerce v3.2.6 * Refactor - Exclude out of stock mysql query to work for sites that have 1,000’s of out of stock products. * Tweak - Test for compatibility with WordPress 4.9.4 * Tweak - Test for compatibility with WooCommerce 3.3.1 = 4.5.0 - 2017/12/12 = * Feature Upgrade. In this upgrade we have added the option when description is used with results to draw it from the Description or the Extract short description. * Feature - Add new Results Description Source option from long DESCRIPTION or EXTRACT short description * Tweak - On Settings tab added new Results Description Source option box with help text and switch * Tweak - Tested for compatibility with WooCommerce 3.2.5 * Tweak - Tested for compatibility with WordPress 4.9.1 * Fix - Check if post_parent field is missed on SKU table database when upgrade from an older version of the Free plugin to latest version of Premium. Upgrade will check and automatically add that field for sync database. Prevent the sync from stalling at SKU because the table does not exist. = 4.4.5 - 2017/11/27 = * Fix - Add AND for clause of mysql query, to resolve mysql bug preventing search queries completing within a product category * Credit - Thanks to Jos Vermeulen for reporting the search in category bug = 4.4.4 - 2017/11/16 = * Maintenance Update - 2 bug fixes plus compatibility with WC 3.2.3 and WordPress 4.9 * Tweak - Tested for compatibility with WooCommerce 3.2.3 * Tweak - Tested for compatibility with WordPress 4.9 * Fix - Get correct stock status of variable products for sync to PS database * Fix - Don't show outofstock products on SKU results if Exclude Out of Stock Products option is ON = 4.4.3 - 2017/11/01 = * Tweak - Tested for compatibility with WooCommerce 3.2.2 * Tweak - Tested for compatibility with WordPress 4.8.3 * Tweak - Add new arguments to sql generate function of PS Term Relationship so that can search on more fields * Fix - Show results for search SKU with a selected Category. * Credit - Thanks to Jos Vermeulen for the search for SKU in selected category bug report = 4.4.2 - 2017/10/13 = * Tweak - Tested for compatibility with WooCommerce 3.2.0 * Tweak - Tested for compatibility with WordPress 4.8.2 * Tweak - Added support for the new WC 'tested up to' feature to show this plugin has been tested compatible with WC updates = 4.4.1 - 2017/08/03 = * Tweak - Update sync code to also check for outofstock products on post meta as well as post term * Tweak - Test for compatibility with WordPress version 4.8.1 = 4.4.0 - 2017/07/12 = * Feature - Added Set Default Category option on Shortcode. Can now set a Category to show as the default (instead of All) on the shortcode search box. * Tweak - Registry event - Send Error Email - for each sync Object data so that it does not send email error although Synced full database * Tweak - Update nothing found text for Category search with nothing found in 'category_name' and suggest try All search * Tweak - Tested for compatibility with WoCommerce 3.1.1 = 4.3.0 - 2017/06/27 = * Feature - Added Daily Auto Database Sync option * Feature - Added Time Picker for setting daily Auto Sync time * Feature - Added Auto synch email success and error notifications * Feature - Added date and time stamp for last successful auto sync * Feature - Added date and time stamp for Manual Sync * Tweak - Tested for compatibility with WooCommerce 3.0.9 * Tweak - Updated description text on Database Sync Option box = 4.2.3 - 2017/06/05 = * Tweak - Tested for compatibility with WordPress major version 4.8.0 * Tweak - Include bootstrap modal script into plugin framework * Tweak - Update a3rev plugin framework to latest version = 4.2.2 - 2017/04/18 = * Tweak - Tested for full compatibility with WordPress version 4.7.3 * Tweak - Tested for full compatibility with WooCommerce version 3.0.3 * Fix - Update underscore templateSettings to add support for default symbol - <% in addition to Predictive Search symbol - {{ to remove conflict with plugins that use underscore template with default symbol. * Credit – Thanks to @progmastery WD Instagram Feed for notifying us of the underscore template conflict = 4.2.1 - 2017/04/11 = * Fix - Correct minified version of predictive-search-popup.backbone.min.js = 4.2.0 - 2017/04/10 = * Feature - Added Split Search function as default search. Applies to Strict and Broad Search modes * Feature - Split Search applies to Product Search and Focus keywords * Feature - No results found action - now shows the last found results in search box dropdown instead of closing the results and showing no results message * Tweak - Update PS database with apply Index for some fields for query faster * Tweak - Update sql query for new spilt search function * Tweak - Full compatibility with WC version 3.0.1 with backward compatibility to WC version 2.6.0 * Tweak - Change call direct to Product properties with new function that are defined on WC v3.0 * Tweak - Called sync data from PS database after WC data is saved on new CRUD * Tweak - Get outofstock from term instead of product meta on new WC v3.0 * Tweak - Change priority for save_post action so that it’s called after WooCommerce save the product data, to get the correct data on WC v3.0 = 4.1.0 - 2017/02/06 = * Feature - Show or hide Stock Qty on Search Box dropdown results and Search Result page. Pulled from WooCommerce Stock Management. * Feature - Add new option to show or hide Product Category on Search Box dropdown Product result * Feature - Add customizer settings options for apply font and color to Stock Qty and Product Category on Search Box dropdown results * Tweak - Added support for product description to show on SKU search results when descriptions are active * Tweak - Update Predictive Search script and style for new features. Warning : need to flush cache to get new script if your site uses a cache plugin, CDN, Clouflare etc * Tweak - Update 'templates/popup/item.php' template file * Tweak - Update 'templates/results-page/item.php' template file * Tweak - Update 'templates/search-bar/predictive-search-form-sidebar.php' template file * Tweak - Update 'templates/search-bar/predictive-search-form-header.php' template file * Tweak - Update dynamic style files * Tweak - Change global $$variable to global ${$variable} for compatibility with PHP 7.0 * Tweak - Removed auto redirect to plugins admin panel on activation * Tweak - Update a3 Revolution to a3rev Software on plugins description * Tweak - Added Settings link to plugins description on plugins menu * Tweak - Tested for full compatibility with WordPress version 4.7.2 * Tweak - Tested for full compatibility with WooCommerce version 2.6.14 * Fix - Show correct number of items when All is selected on Category dropdown * Credit - Thanks to Jason Flsch for advising about the missing support for product descriptions on SKU search results * Credit - Thanks to Joan Malbet for the Feature suggestion - show Product categories on Product dropdown results * Credit - Thanks to Kresimir Koncic for Feature suggestion - show Stock Quantity on Product dropdown results = 4.0.2 - 2016/12/03 = * Tweak - Tested for full compatibility with WordPress version 4.7 RC1 * Fix - Ignore Product ID 0 from exclude IDs list. Was not finding Products in search that had parent product with ID 0. * Credit - Thanks to Kevin Lynch for reporting the Parent Product ID 0 bug and access to his site to find and fix the bug = 4.0.1 - 2016/11/11 = * Tweak - Update correct value of transition on minified version of style from plugin framework * Tweak - Tested for full compatibility with WooCommerce version 2.6.8 * Fix - Update check product image url is empty = 4.0.0 - 2016/11/08 = * Feature - New Product Variation SKU search fully integrated into the existing Product (Parent) SKU search * Feature - If product only has a parent SKU - all of that products variation will show with the parent SKU / Product Name / Variation name in the results * Feature - Click on variation in results and product page opens with that variation selected * Feature - Full integration of Product Variation SKU search into Predictive search shortcode and PHP function * Feature - Added new Product SKU counter from Manual Database Sync box as part of the new variation SKU search feature * Feature - Added new Product Categories counter from Manual Database Sync box * Feature - Added new Product Tags counter from Manual Database Sync box * Feature - Added Product SKU font editor and font hover colour options to the Results Dropdown items option box on Widget and Header Template menus * Tweak - Update 'ps_product_sku' table with new column 'post_parent' * Tweak - Update plugin style to support new variation SKU search feature * Tweak - Update sync features with limit rows to get for each object sync so that the sync is not stopped by a memory limited on sites with a big database * Tweak - Update 'templates/popup/item.php' template file * Tweak - Update 'templates/results-page/item.php' template file * Tweak - Update dynamic style files * Tweak - Allow sync old items is missed for as manual add data by custom mysql from 3rd party plugin. Resolves the issue that sync is running but total items is not increased and can't completed * Dev - Defined 'is_newest_id' method on each PS table class support for check old items are missed * Dev - Defined 'is_item_existed' method on each PS table class * Tweak - Update Add to Cart url for compatibility with WooCommerce Subscription plugin * Fix - Use 'is_item_existed' method to check item exists instead of 'get_item' method because the old method can return wrong result if value is NULL * Fix - Use 'object_id' and 'term_id' to check for continue syncing Term Relationship = 3.9.3 - 2016/10/21 = * Tweak - Define new 'Ajax Multi Submit' control type with Progress Bar showing and Statistic for plugin framework * Tweak - Apply 'Ajax Multi Submit' control type for Sync Data button * Tweak - Update plugin framework styles and scripts support for new 'Ajax Multi Submit' control type * Tweak - Show Notice box on dashboard on first install or upgrade from Free to Premium prompting to run database Sync * Tweak - Update 'templates/search-bar/predictive-search-form-sidebar.php' template file * Tweak - Update 'templates/search-bar/predictive-search-form-header.php' template file * Tweak - Tested for full compatibility with WooCommerce version 2.6.5 * Fix - Don't show Categories dropdown on frontend from php tag when Search in Category is turn OFF * Fix - Auto rebuild categories cache from dashboard when cache expires instead of trigger cache rebuild from first page load in browser. * Credit - Thanks to Sean Moran for reporting the Categories Cache rebuild bug an access to his site to debug the issue = 3.9.2 - 2016/10/11 = * Tweak - Define new 'Ajax Submit' control type with Progress Bar showing for plugin framework * Tweak - Apply 'Ajax Submit' control type for Refresh Cache button * Tweak - Change Product Categories first cache build on first page load in browser to build by Ajax submit on admin panel * Tweak - Build and Refresh Product Categories cache without need for page reload * Tweak - Add date and Timestamp for last cache build * Tweak - Update plugin framework styles and scripts support for new 'Ajax Submit' control type * Tweak - Update function to get product categories result faster. Result is up to a 70% increase speed that Product cats load in dropdown * Tweak - Only enable 'Search In Category' on Widget, Shortcode Popup, PHP tag when Search in Category option is ON and Cached is built. * Tweak - Add text to 'Search in Categories' options on Widget, Shortcode pop up and Search Function admin page with link to "Search in Categories' option box * Tweak - Only show Category dropdown on frontend if Search in Category is set ON and Cached is built * Tweak - When turn Search in Category ON from plugin settings, click on Build Cache is required before Save Changes on that panel page * Tweak - Move Categories Caching option box from the Performance tab to the Search Box tab and rename it to Search in Categories Feature * Tweak - Update Search in Product Categories options text and help text * Tweak - Search in Categories Option box open and close icon display as green colour when option in on to make it easier for admin to see at first glance if option is switched ON * Fix - Add support for get product categories taxonomy terms for compatibility with WordPress 4.5 and earlier. Was causing fatal error - exhausted resources on those older versions * Credit - Thanks to Gianluca Cavarzan for reporting the issue with exhausted resources on first load * Credit - Thanks to Carlos for also reporting the Out of memory error - but also full access to his site to identify the cause and then test patches = 3.9.1 - 2016/09/28 = * Tweak - Update text domain for full support of translation with new name for translate file is 'woocommerce-predictive-search.po' * Tweak - Tested for full compatibility with WordPress version 4.6.1 * Fix - Headers already sent warning. Delete trailing spaces at bottom of php file = 3.9.0 - 2016/09/06 = * Feature - Add new 'Predictive Search Mode' BROAD option in addition to the existing STRICT mode * Feature - Add new 'Search Box Margin (Mobiles)' option for Widget and Header Template to apply unique margin to search box view on mobiles * Tweak - Update all search queries for support new 'Predictive Search Mode' feature * Tweak - Split Templates 'Search Results Dropdown' option box into 4 option boxes 'Results Dropdown Container', 'Results Dropdown Section Titles', 'Results Dropdown Items', 'Results Dropdown Footer' * Tweak - Make search box on frontend always is 100% wide when view on mobile * Tweak - Recalculate the position of search box dropdown when turning phone from portrait to landscape and back so that it always shows at correct width of the search box * Tweak - Update predictive autocomplete script for new features * Tweak - Remove duplicate query when get search result page id * Tweak - Added Predictive Search Mode options box to the admin panel settings tab * Fix - Don't remove space for more text at footer of results popup * Credit - Thanks to Steven Saltman for the BROAD search mode feature suggestion, we think it is a very good one * Credit - Thanks to Derek for pointing out the duplicate query code tweak = 3.8.0 - 2016/08/27 = * Feature - New performance feature, Search In Product Category Caching * Feature - Full product category tree is saved into a single cache file that used to make the Search in category dropdown * Feature - On first page load caching creates 1 Database query to get category tree. Without caching 1 database query must run for each category * Feature - Option to Auto or Manual refresh cache after add / edit / delete a Product category * Feature - Schedule cache refresh from 12 hours to 12 months depending on how often product categories are added / edited / deleted * Feature - When Manual refresh cache is set a notification shows after Product category add / edit / delete with Refresh Cache button * Feature - When Manual refresh cache is set a notification shows after add category from product edit page Product Categories meta * Tweak - Added new + Search In Product Category Caching options box to the Performance Tab on plugins dashboard * Tweak - Update predictive search script to show results dropdown full width of the search box conatiner when Full Width option is selected * Tweak - Update 'templates/search-bar/predictive-search-form-sidebar.php' template file * Tweak - Update 'templates/search-bar/predictive-search-form-header.php' template file * Fix - Auto sync Product Category and Product Tag when they are added * Credit - Thanks to Sean Morgan for raising the Search in Categories performance issue with us and access to his site to see the issue (has 1500 + Product categories on his site) = 3.7.1 - 2016/08/19 = * Fix - Show search bar on frontend when use function tag placed in a custom php file. = 3.7.0 - 2016/08/18 = * Feature - Added Font editor 'Line Height' option * Feature - Added Option to set Google Fonts API key to directly access latest fonts and font updates from Google * Feature - Added new Widget Template settings tab support for customize widget template search bar * Feature - Added new Header Template settings tab support for customize header template search bar * Feature - Added new feature 'Search in Category' with Category Dropdown on Search bar * Feature - Make option for Search Widget apply Widget or Header Template * Feature - Make option for Search Shortcode apply Widget or Header Template * Feature - Make option for Search Function Tag apply Widget or Header Template * Feature - Make option for show or hide Image on Result Dropdown * Feature - Make option for show or hide Description on Result Dropdown * Feature - Make option for show or hide Category Dropdown on Search Bar * Feature - Build less file and generate dynamic style from customize settings * Dev - Define 'templates/search-bar/predictive-search-form-sidebar.php' template file use for Widget Template, can override this template from theme * Dev - Define 'templates/search-bar/predictive-search-form-header.php' template file use for Header Template, can override this template from theme * Dev - Define 'templates/popup/footer-header.php' template file for Footer template on Results Dropdown, can override this template from theme * Dev - Define 'templates/popup/footer-sidebar.php' template file for Footer template on Results Dropdown, can override this template from theme * Dev - Define 'templates/popup/item.php' template file for Result template on Results Dropdown, can override this template from theme * Dev - Define 'templates/results-page/header.php' template file for Header template of Results Page, can override this template from theme * Dev - Define 'templates/results-page/footer.php' template file for Footer template of Results Page, can override this template from theme * Dev - Define 'templates/results-page/item.php' template file for Result template of Results Page, can override this template from theme * Tweak - Update 'woo_predictive_search_widget' function for support new features * Tweak - Called enqueue google fonts to load on frontend * Tweak - Update 'jquery.autocomplete.js' script for support new features * Tweak - Update 'predictive-search-popup.backbone.js' script for support new features * Tweak - Remove Smart Search option from Widget, Shortcode and Function Tag so that for now it support select category on Search Bar * Tweak - Remove Custom Style from Search Function Tag so that it supports select a Template now * Tweak - Update Typography Preview script for apply 'Line Height' value to Preview box * Tweak - Update the generate_font_css() function with new 'Line Height' option * Tweak - Replace all hard code for line-height inside custom style by new dynamic 'Line Height' value * Tweak - Tested for full compatibility with WooCommerce version 2.6.4 * Tweak - Tested for full compatibility with major WordPress version 4.6 = 3.6.2 - 2016/07/11 = * Fix - Get correct product Add to Cart url on search results page when 'AJAX add to cart buttons on archives' is set to OFF from WooCommerce Global Settings * Credit - Thanks to Mikkel Jeppesen Juhl for reporting the bug = 3.6.1 - 2016/07/06 = * Fix - Setting options not saving on version 3.6.0 = 3.6.0 - 2016/07/05 = * Feature - Update for compatibility with new a3 License Manager plugin * Feature - Show admin notification box re installing a3 License Manager plugin to manage license key and auto upgrades * Tweak - Removed tracking code from plugin * Tweak - Removed auto upgrading code from plugin * Tweak - Remove confirm license key form at first activate the plugin * Tweak - Can use the plugin without enter license key but can't auto upgrade when have new version = 3.5.0 - 2016/07/04 = * Feature - Plugin Framework Mobile First focus upgrade * Feature - Massive improvement in admin UI and UX in PC, tablet and mobile browsers * Feature - Introducing opening and closing Setting Boxes on admin panels. * Feature - Added Plugin Framework Customization settings. Control how the admin panel settings show when editing. * Feature - Added 'Manual Check for New Plugin version'. Find it in the Plugin Framework settings box. * Tweak - Moved Manual Database Sync settings to Performance tab. * Tweak - Moved Global Search Box Text settings to Search Box tab. * Tweak - Moved Exclude From Predictive Search settings to Settings tab and remove the Exclude Content tab. * Tweak - Moved Google Analytics Site Search settings to Settings tab and remove the Google Analytics tab. * Tweak - Tested for full compatibility with WordPress version 4.5.3 * Tweak - Tested for full compatibility with WooCommerce version 2.6.2 = 3.4.2 - 2016/06/17 = * Tweak - Tested for full compatibility with WooCommerce major version 2.6.0 * Tweak - Tested for full compatibility with WooCommerce version 2.6.1 = 3.4.1 - 2016/06/10 = * Tweak - Remove Delay Time option that was causing erratic search box dropdown results display * Tweak - Update predictive-search-popup.backbone.js script * Tweak - Remove all credit URL's from changelog = 3.4.0 - 2016/06/09 = * Feature - Added support for CCS animations for dropdown results loading * Feature - Added 47 x CSS animated results loading effects to choose from * Feature - Option to set results animation Entrance Delay time from 0 to 500 milliseconds * Tweak - Tested for full compatibility with WordPress major version 4.5.2 * Tweak - Tested for full compatibility with WooCommerce version 2.5.5 * Tweak - Added new admin panel Tab called Search Box with dropdown results animation options * Tweak - Update predictive-search-popup.backbone.js for support new Effect feature * Tweak - Registry animate-css for support Effect feature * Tweak - Update select type of plugin framework for support group options * Fix - Change function and class name of custom automcomplete script from plugin so that don't conflict with autocomplete script default from WordPress * Fix - Correct variation name for solve the PHP notice: "Undefined variable: end_row" * Credit - Thanks to Derek for reporting the PHP warning a3rev.com/forums/topic/php-notice/ = 3.3.1 - 2016/04/05 = * Tweak - Register fontawesome in plugin framework with style name is 'font-awesome-styles' * Tweak - Update plugin framework to latest version * Tweak - Tested for full compatibility with WordPress major version 4.5.0 * Fix - call session_start() before html is printed on screen to fix PHP warning = 3.3.0 - 2016/02/15 = * Feature - Add new 'Character Syntax' feature with 3 options IGNORE | REMOVE | BOTH to process the special characters from Product, Posts, Pages, Category, Tag Titles and SKU. * Feature - New special character REMOVE see the special character as a space. * Tweak - Added - character to Special Character List * Tweak - Process the search term that contain special character before parse to mysql query * Tweak - Update mysql query for support multiple special characters from Product, Posts, Pages, Category, Tag Titles and SKU * Tweak - Tested for full compatibility with Yoast SEO plugin version 3.0.7 * Tweak - tested for full compatibility with WPML version 3.3.6 * Fix - Update auto sync data for compatibility with WPML v3.3.6 plugin * Fix - Update auto sync data for compatibility with Yoast SEO v3.0.7 = 3.2.0 - 2016/02/04 = * Feature - Define new 'strip_methods' argument for Uploader type, allow strip http/https or no * Feature - Performance : Add new 'Cache Timeout' feature that allow admin set hour for dropdown results cached instead of have hard code into plugin is 24 hours, support for big site usually have new products daily * Feature - Exclude Products: Add new feature for admin can turn ON or OFF for exclude Products are out of stock, default is ON * Feature - Add Search Results No-Cache option. Admin can turn search box dropdown results caching OFF while testing or debugging * Tweak - Update Predictive Search backbone script and Predictive Search Autcomplete for support 2 new features 'Predictive Search Results No-Cache' and 'Cache Timeout' * Tweak - Automatic Sync Products that are Out of Stock to Predictive Search database when admin click on Sync button or when edit Product * Tweak - Make upgrade function for automatic sync Product are Out of Stock when upgrade to this version * Tweak - Tested for full compatibility with WooCommerce version 2.5.2 * Tweak - Tested for full compatibility with WordPress version 4.4.2 * Fix - Compatibility with w3 total cache inline minification. * Localisation - Added DE German translation thanks to Michael Busch = 3.1.0 - 2016/01/30 = * Feature - Predictive Search Meta box - Make condition logic script for show or hide the "Focus Keywords" when check or uncheck "Hide from Predictive Search results" checkbox * Feature - Define new 'Background Color' type on plugin framework with ON | OFF switch to disable background or enable it * Feature - Define new function - hextorgb() - for convert hex color to rgb color on plugin framework * Feature - Define new function - generate_background_color_css() - for export background style code on plugin framework that is used to make custom style * Tweak - Put plugin version parameter for all scripts and styles on frontend * Tweak - Tested for full compatibility with WooCommerce version 2.5.1 * Tweak - Tested for full compatibility with WordPress version 4.4.1 * Fix - Move "Hide from Predictive Search results" checkboxes into inside the "Predictive Search Meta" box instead of put on Box Title for work compatibility on WordPress 4.4 so that it can save correct value when check or unchecked * Credit - Thanks to Rodney Washington for reporting the Hide from Predictive Search checkbox bug https://a3rev.com/forums/topic/hide-from-predictive-search-box-not-staying-unchecked/ = 3.0.4 - 2015/12/16 = * Tweak - Tested for full compatibility with WordPress major version 4.4 * Tweak - Tested for full compatibility with WooCommerce version 2.4.12 * Tweak - Update plugin activation and auto Upgrade script for integration with new Responsi Premium Pack plugin * Tweak - Change old Uploader to New UI of Uploader with Backbone and Underscore from WordPress * Tweak - Update the uploader script to save the Attachment ID and work with New Uploader * Tweak - Change call action from 'wp_head' to 'wp_enqueue_scripts' to load predictive search scripts * Tweak - Move the action for load style from 'init' to registry script for loading and easier management * Fix - Add 'underscore', 'backbone', 'backbone.localStorage' as Predictive Search script dependencies. Those scripts now always load before Predictive Search script instead of enqueued as separate to fix missed variable error preventing Search script working * Fix - Don't call the Parsing Shortcode event from Dashboard, just call it on Front-end to resolve PHP warning when is adding shortcode to page * Fix - Define and set total_post variable has default value is 0 for fix "PHP Notice: Undefined variable: total_post" = 3.0.3 - 2015/11/03 = * Tweak - Show total items synced on Plugin Settings below Sync Now button. Allows admin to see current synch status and continue manual click on Sync Now button until all products and posts are synched * Tweak - Added 'ps_lang' parameter to backbone script to know the current language of site for compatibility with WPML version 3.2.7 or higher * Tweak - Add new 'data-ps-lang' attribute for Predictive Search widget * Tweak - Removed 'lang' parameter on Legacy API to avoid conflict with WPML plugin version 3.2.7 or higher * Tweak - Updated AutoComplete script for get 'ps_lang' parameter instead of 'lang' * Tweak - Set timeout to 60 seconds instead of short timeout 8 seconds for when download the latest version from Amazon S3. Some users where seeing 'Download timeout' when upgrading the plugin on a slow network * Tweak - Tested for full compatibility with WPML v 3.2.7 * Tweak - Tested for full compatibility with WooCommerce v 2.4.8 * Tweak - Tested for full compatibility with WordPress major version 4.3.1 * Fix - Auto flush rewrite rules on first install for Search Result page to prevent a 404 error. * Fix - Called 'save_post' action after Predictive Search table is defined and added to WP table list to fix MySQL syntax error on initial install * Credit - Thanks to Kevin Champlin for notifying us of the issue https://a3rev.com/forums/topic/activation-of-the-pluging-crashes-wp/ = 3.0.2 - 2015/09/07 = * Tweak - Tested for full compatibility with WooCommerce Version 2.4.6 * Fix - Delete check new version transient when transient_timeout is deleted by WordPress 4.3 get_transients function so call to a3api for new version still works. * Fix - Change timeout of call to a3API for updates from 45 seconds to 8 seconds to resolve the server PHP timeout 30 seconds default. Server timeout before call finish was causing the 24 hour cron call not to be set and causing the dashboard to load slowly if a3API is not reachable. * Fix - Set 24 hours cron before call to a3API so that if have fail to connection then it will call in 24 hours on Cron instead of continue call each time Dashboard is loaded = 3.0.1 - 2015/08/20 = * Tweak - Tested for full compatibility with WooCommerce Version 2.4.4 * Tweak - Tested for full compatibility with WordPress major version 4.3.0 * Tweak - Include new CSSMin lib from https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port into plugin framework instead of old CSSMin lib from http://code.google.com/p/cssmin/ , to avoid conflict with plugins or themes that have CSSMin lib * Tweak - Make __construct() function for 'Compile_Less_Sass' class instead of using a method with the same name as the class for compatibility on WP 4.3 and is deprecated on PHP4 * Tweak - Change class name from 'lessc' to 'a3_lessc' so that it does not conflict with plugins or themes that have another Lessc lib * Tweak - Delay automatic synch full database until after plugin install is completed to avoid PHP time out errors for sites with big databases. * Tweak - Update synch full database feature for sites with very big databases. If PHP time out during synch can click continue and synch will continue from where it stopped * Tweak - Increase PHP execute timeout when synch full database. Only works on server allow php code to set that value = 3.0.0 - 2015/07/28 = * Feature - Complete rebuild of Predictive Search database * Feature - All search objects are stored in Predictive Search Database tables * Feature - Performance enhancement, 1,000's of less Database calls - faster and lighter * Feature - Predictive Search Database auto updates when products, posts or pages, product categories, product tags are created or updated or deleted * Feature - Added option to turn Special Characters Function ON or OFF * Feature - Added option to select any Special Characters used on your site. Results returned with or without special character input * Feature - Manual Database Sync allows admin to manually sync PS database with WooCommerce and WordPress databases * Feature - Flush URL rewrite rules now updated when Search page slug is changed or something us updated on admin panel. Previously this was done each time the Search Results page URL was run. Dramatically decreases the load time of the search page * Feature - Only show found Results on Search results page - no Search elements tabs showing no results found * Feature - Added singular and plural result(s). Returns results when user adds plural (s) to search term * Feature - No Conflict. Update all MySQL query to Predictive Search database, so that it does not conflict with any another Search plugin * Feature - Function to auto convert all Predictive Search pre Version 3.0.0 to new PS database structure * Tweak - Tested for full compatibility with WooCommerce version 2.3.13 * Tweak - Tested for full compatibility with WordPress version 4.2.3 * Tweak - Added underscore _ to list of available special characters * Tweak - Updated backbone scripts for new rewrite urls = 2.4.5 - 2015/06/27 = * Tweak - Tested for full compatibility with WooCommerce Version 2.3.11 * Tweak - Updated legacy API url for when a site admin has set index.php permalinks * Tweak - Automatic delete the house keeping option of Lite version when upgrading from Lite to Pro version. Prevents data from being deleted on upgrade if the Lite Version Clean Up On Deletion option is was left switched ON before deactivating it to install the Pro version * Fix - Added fallback cron job schedule to fix License Key deactivation bug that occurs when call to server returns null for server name when checking key status for auto Maintenance and Feature upgrades * Credit - Thanks to Amir https://a3rev.com/forums/topic/predictive-search-pro-losing-licence-activation-every-day/ for full access to live site and for Beta Testing the new call for updates fallback cron job = 2.4.4 - 2015/06/05 = * Fix - Don't show the full search result URL on Google Analytics search results dashboard, now truncated path url /search?ps=keyword * Credit - Thanks again to Derek https://a3rev.com/forums/topic/strange-results-in-google-analytics/ for the heads up about the issue. = 2.4.3 - 2015/06/04 = * Tweak - Tested and Tweaked for full compatibility with WordPress Version 4.2.2 * Tweak - Tested and Tweaked for full compatibility with WooCommerce Version 2.3.10 * Fix - Update search result page URL to the format //domain.com/ so it's always is correct when loaded as http or https * Credit - Thanks to Lifetime License owner Derek https://a3rev.com/forums/topic/insecure-form-call/ for the heads up about the issue. = 2.4.2 - 2015/04/21 = * Tweak - Tested and Tweaked for full compatibility with WordPress Version 4.2.0 * Tweak - Tested and Tweaked for full compatibility with WooCommerce Version 2.3.8 * Tweak - Update style of plugin framework. Removed the [data-icon] selector to prevent conflict with other plugins that have font awesome icons = 2.4.1 - 2015/04/03 = * Tweak - Made the product thumbnail a clickable link to the product on All Results Search pages. Before only the product title was linked * Tweak - Update underscore template with link to Product set for the image from All Results Search page * Tweak - Add support for add filter_tag so search can get correct legacy api URL when admin make custom permalink link index.php/%postname%/ * Tweak - add_filter to 'pre_get_posts' to set the post type again to 'product' search from Products if have 3rd party plugin set query post type wpshock_search_filter on 'post' or 'page' * Dev - Defined filter tag 'wc_ps_legacy_api_url' for developer can update the legacy api url * Dev - Defined filter tag 'wc_ps_vars' and 'wc_ps_results_vars' so Developer can add to global vars to PS JavaScript * Fix - Changed 'p' argument name to 'psp' argument name inside legacy api url to fix conflict with WordPress 'p' Post ID argument * Fix - Update backbone script for new 'psp' argument name. Important! Clear cache if have cached plugin to reload new backbone script * Fix - Compatibility text for current version of WordPress on the Core Update page. Feature stopped working with WordPress version 4.1 = 2.4.0 - 2015/03/19 = * Tweak - Tested and Tweaked for full compatibility with WooCommerce Version 2.3.7 * Tweak - Tested and Tweaked for full compatibility with WordPress Version 4.1.1 = 2.3.9 - 2015/02/13 = * Tweak - Maintenance update for full compatibility with WooCommerce major version release 2.3.0 with backward compatibility to WC 2.2.0 * Tweak - Tested fully compatible with WooCommerce just released version 2.3.3 = 2.3.8 - 2015/01/29 = * Tweak - Refactored custom MySQL query command for search speed for a noticeable improvement time taken to show results in search box dropdown and All results page load. Really noticeable on larger stores. * Tweak - Predictive Search Focus Keyword option has default value as OFF on first install * Tweak - Moved Focus keyword settings further down the Settings tab and edited the help text. * Credit - Big shout out for David Hannes for all of his help in this upgrade with improvements to site search speed. = 2.3.7 - 2015/01/21 = * Tweak - Remove case KEY.RETURN from autocomplete script. Removes wait for results query to run and populate the dropdown when type search characters and click enter key or search icon before redirect to the All Results Search page. Search query is run on the All Results Search page instead. Halves the number of queries to the database in that scenario. * Tweak - Tested 100% compatible with WooCommerce 2.2.10 * Tweak - Tested 100% compatible with WordPress Version 4.1 * Fix - Update legacy api so that use home_url( '/' ) instead of get_option('siteurl') to resolve the problem can't get data when site has WordPress Settings > General, configured WordPress Address different from Site Address * Fix - Show the new plugin version on the Core Update page. Feature stopped working with WordPress version 4.1 * Credit - Thanks to Mike Spakowski for his help with his research and posting on the a3rev support forum in creating the KEY.RETURN performance tweak. * Credit - Thanks to David Turnbull for his help via Express support LIVE CHAT in identifying the changed WP url bug and access to his site to find and fix it. = 2.3.6 - 2014/11/12 = * Fix - a3rev License code now recognises domain with and without the www. We believe that this will solve Licenses auto deactivating on some sites. = 2.3.5 - 2014/09/03 = * Tweak - Tested and updated for full compatibility with soon to be released WooCommerce major version 2.2 * Tweak - Use wc_get_product() function instead of get_product() function when site is using WooCommerce Version 2.2 * Tweak - Use $wpdb->esc_like() function instead of like_escape() function, which is deprecated on WordPress 4.0 * Tweak - Updated google font face in plugin framework. = 2.3.4 - 2014/08/23 = * Tweak - All Results page - Show first search type results on open page loading. If no Product name results - so next type that has results. * Fix - Update API url for sites that are completely behind SSL = 2.3.3 - 2014/08/21 = * Fix - Replaced ERB-style delimiters <% with {{ symbols in Backbone Template. Resolves issue of some server environs auto removing ERB-style delimiters. * Tweak - Updated Predictive Popup Backbone script and Predictive All Results Backbone script. * Tweak - Define an interpolate regex to match expressions that should be interpolated verbatim * Tweak - Escape regex to match expressions that should be inserted after being HTML escaped * Tweak - Evaluate regex to match expressions that should be evaluated without insertion into the resulting string = 2.3.2 - 2014/08/21 = * Fix - Moved backbone.localstore to load after backbone. Causing other scripts to break and Search Box drop down not working. = 2.3.1 - 2014/08/20 = * Fix - Added text_length parameters for PHP tag. Missed in version 2.3.0 upgrade. * Fix - Error: call methods on autocomplete not initializing on some Themes. Moved autocomplete script and backbone-popup scripts from header to footer. = 2.3.0 - 2014/08/15 = * Feature - Added Backbone technology combined with Backbone.localStorage for Predictive Search Widget * Feature - Added Backbone technology combined with Backbone Router for All Results Search page * Feature - Backbone.js / Woo API makes the plugin incredibly lightweight. * Feature - All front end calls now via WooCommerce Legacy API instead of ajax-admin.php * Feature - Use Underscore.js script as template for Backbone.js for rendering template display on frontend * Feature - Use Backbone.localStorage.js to cache the search term for user * Feature - New Performance tab in admin panel * Feature - New Characters Before Query setting to set number of characters that must be typed before the first search query. * Feature - New Query Time Delay setting to set Time delay after a character is entered and query begins. * Tweak - Register Legacy API '/wc_ps_legacy_api' for Predictive Search plugin to use with Backbone.js * Tweak - Removed 'woops_get_result_search_page' AJAX action and replace with Backbone.js * Tweak - Removed 'woops_get_result_popup' AJAX action and replace with Backbone.js * Tweak - Updated Predictive Search script for compatibility with Backbone.js * Tweak - Very minor admin panel text changes. * Tweak - Full WP and PHP DEBUG. = 2.2.2.7 - 2014/07/29 = * Fix - Added .woocommerce class to container div of search result page to apply WooCommerce style from theme. = 2.2.2.6 - 2014/07/21 = * Fix - Moved $search_box_text into esc_js() function to stop the search breaking when default text is entered with slash characters. * Tweak - Tested 100% compatible with WooCommerce version 2.1.12 * Credit - Thanks to Rodney Washington for alerting us to this issue. = 2.2.2.5 - 2014/06/20 = * Fix - Undefined variable: extra_parameter_product message in widget * Fix - Undefined variable: extra_parameter_post = 2.2.2.4 - 2014/06/17 = * Tweak - Changed add_filter( 'gettext', array( $this, 'change_button_text' ), null, 2 ); to add_filter( 'gettext', array( $this, 'change_button_text' ), null, 3 ); * Tweak - Update change_button_text() function from ( $original == 'Insert into Post' ) to ( is_admin() && $original === 'Insert into Post' ) * Tweak - Added support for placeholder feature for input, email , password , text area types. * Tweak - Updated chosen js script to latest version 1.0.1 on the a3rev Plugin Framework * Tweak - Convert Lifetime License to single site purchase with add sites at discount feature. * Tweak - Tested 100% compatible with WooCommerce version 2.1.11 = 2.2.2.3 - 2014/05/20 = * Tweak - Checked and updated for full compatibility with WooCommerce Version 2.1.9 and WordPress version 3.9.1 * Fix - Updated preg_replace function that removes special characters from database query. * Credit - to Peter Scott Web Systems Management for advising the issue and access to find and fix it. = 2.2.2.2 - 2014/04/26 = * Feature - Added Google Analytics Site Search integration. Use plugins default Query parameter or create your own. * Tweak - Added new Google Analytics tab and config settings to dashboard. * Tweak - Updated Priced text in search box drop down and on Search Results page to Price. * Tweak - Updated Framework help text font for consistency. * Tweak - Added remove_all_filters('mce_external_plugins'); before call to wp_editor to remove extension scripts from other plugins. * Tweak - Checked and updated for full compatibility with WooCommerce Version 2.1.7 and WordPress version 3.9 * Credit - Thanks to [Derek](https://a3rev.com/forums/topic/bug-plugin-breaks-site-search-tracking-with-google-analytics/) for suggesting the Google Site Search tracking feature and helping us understand it. * Credit - Thanks to [Simon Edge](https://a3rev.com/forums/topic/how-do-i-change-textlayout-of-search-results-template/) for pointing out the Priced typo. = 2.2.2.1 - 2014/02/08 = * Feature - Special Characters Within near match. Query strings that CONTAINS a special character eg d'E return all matches found for d'e and de. * Feature - Special Characters Prepend and Append near match e.g. Query (Purple) will return all matches found for (Purple) and Purple. * Tweak - Settings admin panel Tweak. Added SEO Plugin Focus Keyword Activation setting only shows when the Predictive Search Focus Keyword Feature is ON. * Tweak - Updated the Focus Keyword text on Settings tab to be more descriptive and useful. * Tweak - Updated the Predictive Search box dropdown message 'Keep typing ...' when no results found to a more helpful dialog. * Tweak - Framework load time. Added remove_all_filters('mce_external_plugins'); before call to wp_editor to remove extension scripts from other plugins. * Tweak - Tested 100% compatible for query focus keywords from Yoast WordPress SEO plugin version 1.4.24. * Tweak - Tested 100% compatible for query focus keywords from All in One SEO Pack plugin version 2.1.3 * Credit - Thanks to Mylene for pointing out the Special Characters Within issue. * Credit - Thanks to Scott Lesh for pointing out the Special characters Prepend and Append issue. = 2.2.2 - 2014/01/27 = * Feature - Upgraded for 100% compatibility with WooCommerce Version 2.1 with backward compatibility to Version 2.0 * Feature - Added all required code so plugin can work with WooCommerce Version 2.1 refactored code. * Tweak - Tested for compatibility with WordPress version 3.8.1 * Tweak - All switch text to show as Uppercase. = 2.2.1 - 2013/12/19 = * Feature - a3rev Plugin Framework admin interface upgraded to 100% Compatibility with WordPress v3.8.0 with backward compatibility. * Feature - a3rev framework 100% mobile and tablet responsive, portrait and landscape viewing. * Tweak - Upgraded dashboard switch and slider to Vector based display that shows when WordPress version 3.8.0 is activated. * Tweak - Upgraded all plugin .jpg icons and images to Vector based display for full compatibility with new WordPress version. * Tweak - Tested 100% compatible with WP 3.8.0 * Fix - Update make_compatibility function with isset( $args->slug ) and isset( $args['body']['request'] ) so that our plugin can work together with other developers plugin (eg Backupbuddy) that adds filter on the WordPress plugins_api (bad thing to do) * Fix - Upgraded array_textareas type for Padding, Margin settings on the a3rev plugin framework = 2.2.0 - 2013/11/25 = * Feature - Upgraded the plugin to the newly developed a3rev admin Framework with app style interface. * Feature - New admin UI features check boxes replaced by switches. * Tweak - Moved admin from WooCommerce settings tab onto the WooCommerce Nav bar, menu item Predictive Search. * Tweak - Predictive Search menu broken up into tabs - Setting, All Results Pages, Exclude Content, Search Function. = 2.1.9.3 - 2013/11/21 = * Tweak - updated search function from woo_predictive_search_widget() to woo_predictive_search_widget( $ps_echo ) with $ps_echo is boolean value to allow developer to use return or the default echo parameter. * Tweak - Plugin tested 100% compatible with WordPress 3.7.1 * Fix - change pipe | character to [|] character in result popup code to solve the conflict with users who use pipe | in product titles. * Fix - $args->slug depreciated in WordPress 3.7, replace with $request = unserialize( $args['body']['request'] ); $request->slug = 2.1.9.2 - 2013/09/13 = * Feature - Added option to show product prices in widget, shortcode and search function drop down. * Credit - Thanks to George Papanikolaou (Greece) for suggesting this feature. * Fix - Use browser protocol http or https on page load fix in v2.1.9.1 caused sites that use Minify plugins to crash on update. Updated style url and script url to fix Minify conflict. * Credit - Thanks to Roy Vella (USA) for reporting the issue and the wp-admin and ftp access to his site to find and fix the bug. * Localizations - Romanian updates by Balanean Corneliu = 2.1.9.1 - 2013/09/10 = * Feature - Added Predictive Search Focus Keyword add / edit function to Products, Posts and Pages Quick Edit. * Feature - Added Hide from Predictive Search results option to Product, Posts and Pages Quick Edit. * Feature - Added Predictive Search Focus Keywords add / edit and hide from Search Results to Products Bulk Editor. * Tweak - Added 'View Docs' link from the top of each admin panel to that menus section on the plugins docs. * Fix - Product Thumbnail images not showing in Chrome with SSL on product pages. Stripped http// and https// protocols so browser will use the protocol that the page was loaded with. * Fix - Plugins admin script and style not loading in Firefox with SSL on admin. Stripped http// and https// protocols so browser will use the protocol that the page was loaded with. * Localization - Added Romanian thanks to Balanean Corneliu = 2.1.9 - 2013/08/03 = * Tweak - Tested for full compatibility with WordPress v3.6.0 * Fix - Added box-sizing:content-box class attribute for compatibility with new WordPress Twenty Thirteen default theme. * Translations - German translation by Matthias Rimkus = 2.1.8 - 2013/07/20 = * Fix - Show 'array' instead of search box text in Search .php function. when WPML feature is activated. = 2.1.7 - 2013/07/16 = * Feature - Added multilingual support. Full compatibility with the WPML plugin * Feature - Added registry icl_register_string() to front end text to allow translation by WPML String Translations plugin * Feature - On install plugin detects WPML install and auto creates All Results Search pages for each language results. * Feature - Added auto detect languages and creates Global Search Box Text, 'Text to Show' fields for each language on settings admin page. * Feature - Added auto detect languages and create Search box text message fields for each language on widgets. * Tweak - Addition help text which shows on > Settings, Search Page when the WPML plugin is detected. * Tweak - Updated the plugins wiki docs with WPML section. * Tweak - Ran full WP_DEBUG All Uncaught exceptions errors and warnings fixed. * Tweak - Added PHP Public Static to functions in Class. Done so that Public Static warnings don't show in DE_BUG mode. = 2.1.6 - 2013/06/12 = * Feature - Search box dropdown now can show the full wide when search function is activated by a third party script. An example of this is when the search box is not loaded on page load but is activated by click on a button or element. * Tweak - Changed the search box drop down z index to 999999 so that it always overlays any other element on the page. = 2.1.5.3 - 2013/06/08 = * Fix - Missed white space in echoadmin_url, should have been echo admin_url. Caused widget and shortcode errors. Sorry about that. = 2.1.5.2 - 2013/06/07 = * Feature - Added House keeping function to settings. Clean up on Deletion. Option - Choose if you ever delete this plugin it will completely remove all tables and data it created, leaving no trace it was ever here. * Tweak - Updated plugins support forum link to the plugins a3rev support forum. = 2.1.5.1 - 2013/05/03 = * Translation - Added Spanish translation thanks to Fidel Diez = 2.1.5 - 2013/04/26 = * Feature - Added option to show SKU under product title on Product Name All Results Search pages. * Feature - Further reduction in search function memory use achieved by tweaking the output buffering function. Particularly useful for those with servers running low on or operating on low memory resources. = 2.1.4 - 2013/04/19 = * Fix - Made new ajax filters to stop plugins like Role Scoper filtering predictive search functions. * Fix - Posts that do not have any meta data not showing in search results. * Fix - Don not show [shortcodes] in search results descriptions. = 2.1.3 - 2013/04/15 = * Fix - Updated all Javascript functions so that the plugin is compatible with jQuery Version1.9 and backwards to version 1.6. WordPress still uses jQuery version 1.8.3. In themes that use Google js Library instead of the WordPress jQuery then there was trouble because Google uses the latest jQuery version 1.9. There are a number of functions in jQuery Version 1.9 that have been depreciated and hence this was causing errors with the jQuery function in the plugin. = 2.1.2 - 2013/04/12 = * Tweak - Added when install and activate plugin link redirects to License Key validation page instead of the wp-plugins dashboard. * Fix - Link from search box drop down footer to All Results Search pages not working in Internet Explorer 8, 9 and 10. = 2.1.1 - 2013/04/01 = * Fix - All Results pages returning a 404 page not found when custom permalinks set with a trailing slash. When a sites custom permalinks where set with a trailing slash this caused an extra / in the Results Search pages URL resulting in a 404. The plugin now checks if the trailing slash is present and allows for that to produce the correct URL. = 2.1.0 - 2013/03/22 = * Feature - Newly developed mysql command that makes the Predictive Search Engine results 100% accurate, 100% of the time. Install this upgrade and try it out for yourself - you will be absolutely amazed, excited, over the moon like we are about it. * Tweak -Jumped version from 2.0.1 to 2.1.0 with the release of the Predictive Search engine 100% accurate search results upgrade. * Fix - Bug for users who have https: (SSL) on their sites wp-admin but have http on sites front end. This was causing search results to show a -1 in the drop down instead of the results because wp-admin with SSL applied only allows https:, but the url of admin-ajax.php is http: and it is denied hence returning the ajax -1 error. Fixed by writing a filter to recognize when https is configured on wp-admin and parsing correctly. If you do not have this configuration nothing changes for you, if you do have https on your wp-admin (or install it in the future) and http on the front end then Predictive Search now automatically detects that and works as it should. = 2.0.1 - 2013/03/15 = * Feature - All Results search page shortcode now shows as an image in the Search results page Visual text editor instead of the shortcode [woocommerce_search]. We have used an image to overcome some confusion about if the shortcode was a3rev Predictive Search or a WooCommerce shortcode function. Also has instructions (in English) about moving the shortcode to another page. After you upgrade, take a look. * Fix - All Results search page breaking in some themes when the show Add to Cart button with search results feature is activated. Please update to this version now if you are experiencing this issue and this will fix it. * Fix - Search function and shortcodes not working on themes that call the wpautop function before the shortcode function (very poor practice). The wpautop function auto adds the

tag to all white space in php functions and thus breaks our function. We use internal script rather than a js file for the serach function and shortcodes because a js file is always called on each page load even when it is not required. We have removed all white spaces and problem no longer exists. = 2.0 - 2013/02/28 = * Feature - Updated all plugin code to be WooCommerce V2.0 compatible with backward compatibility. * Feature - Added Predictive Search 'Focus keywords'. As a solution for all the people who have requested all the different things they want Predictive Search to return results for and from. Now you can 100% accurately Optimize your entire site anyway you want with WooCommerce Predictive Search 'Focus Keywords' and Optimize your 'site search' by adding a 'Focus Keywords or Keyword Phrases' to any product page, post, wp-page just like an SEO plugin except it is for site search not external search engines and its 100% accurate and super fast. * Feature - Added a new Predictive Search meta section on each product page, post and page for setting 'Focus Keywords and Keyword Phrases'. * Feature - Exclude any product, post or page from Predictive Search results right from the Predictive Search Meta. Also see if it is currently excluded from search results, make it visible from the meta box. * Feature - Integration with SEO plugins. Can be a massive time saver. Configure your plugin with the click of a mouse to use Focus Keywords that are set on an SEO plugin you are using. Added the ability for to also include any 'Focus Keywords' that have been set while optimizing the site content for search engine search. * Feature - Currently supports Yoasts WordPress SEO and the All in One SEO plugins. We have built this feature so we can add any SEO plugin that uses 'Focus Keywords'. If you use another WordPress SEO Plugin and would like to see it included in the list of supported plugins please just let us know and we will look in including support for it in future updates. * Feature - Added 'Pretty URL' support to replace the All Search Results pages parameter driven URLS * Feature - Added the ability to add text content that shows inside the Search box. Added as a Global setting or can be individually set on Widgets, Shortcode or the Search Function * Feature - Major UI upgrade. We have completely rewritten the plugins admin panel and the Predictive Search tab on the WooCommerce settings. It now has its own nav bar just like the WooCommerce Payment gateways tab. The tabs are É. Settings | All Results Search Pages | Exclude Content | Search Function, with styling to be added in the next feature upgrade. * Feature - Added a new styling lib for drop-downs and Options Ð this was important because it now uses the same lib as WooCommerce uses Ð makes excluding content a very easy thing to do for each content search taxonomy. * Fix - Sort Search Results Pages show 'No Results' - The way the plugin was configured when a user hit 'Enter' while searching all of the Search Results pages where displayed for Sorting - Sort by Product Name | SKU | Product Categories | Product Tags | Posts | Pages - All of the Tabs showed even if a page had 'No Results'. This was done to save on database queries. We have written a special script and added it is fired when the user clicks 'Enter' while searching - it checks each page for results - if it finds 'No Results' it hides the Page tab and if it finds results if does nothing, when it is finished doing the 6 queries it goes back to sleep. The result is only 6 extra queries being done and super fast and only shows pages that have results. * Fix - Undefined variable mediumSRC notice showing in search box dropdown when product does not have a featured image.We fixed by defining the variable. = 1.2.0 - 2012/12/31 = * Tweak - Updated plugin API to allow Pro Version License holders to manage their Licenses from the all new "My Account" dashboard on a3rev. Includes the option to see which domains each plugin is installed and activated on and the ability to deactivate the plugin on any domain from the 'My Account' > Manage Licenses dashboard. = 1.1.9 - 2012/12/18 = * Feature - Added get Product Name results character description from Products 'short description' if no content is entered for Product description. * Fix - Plugin now supports themes that use post_type array rather than post_type string. If the theme post_type is array plugin will now use function is_array() and in_array() instead of trim() function to generate the All Search Results pages. Thanks to Dietmar Hohn of Germany for working with us on this quirky bug fix. = 1.1.8 - 2012/11/29 = * Feature - Now supports WPMU - Pro Version Single License now works on any domain or sub domain that the Plugin is installed on with the WPMU environment. * Tweak - Change Pro Version plugin API call from cURL to now use WordPress auto update wp_remote_request function. This is to fix Pro License user who do not have cURL activated on their host not being able to install and activate the plugin. * Tweak - Built new Amazon EC2 plugin API to increase connection and download speed as well as reliability and uptime - plugin from this version calls to the new API. * Fix - Fixed conflict with WordPress Domain Mapping plugin - thanks to Johannes for access to his WPMU install to find and fix this issue. * Fix - Change Pro Version plugin API call so that it only calls from the WP-Plugins page and not from every admin page. * Fix - Changed Pro Version plugin API call so that if it calls once to the API and it does not connect it auto aborts instead of keeping on trying to call. = 1.1.7 - 2012/11/27 = * Fix - XSS Vulnerabilities. Added strip tags function to stop XSS injections by adding script via the predictive search box. * Credit - Thanks to Jason Flemming for alerting us to this issue. = 1.1.6 - 2012/11/21 = * Feature - Add 'Exclude From Predictive Search' Functionality. From the WooCommerce > Settings > Predictive Search tab you can now exclude any Product, Product Category, Product tag, Post or Page from showing in the Predictive Search results. * Tweak - Upgraded Search function feature to allow for easier application of the search function to theme headers. Go to the WooCommerce > Settings > Predictive Search and you will see that you can now add and update the function search values on that page. Once values are added and the page updated you add the global function to you header.php file. * Tweak - For themes that require knowledge of HTML and PHP to position and style the Predictive Search function we have introduced a USD$12 'on demand' service for those who don't have that coding ability and access to a coder who does - see here http://a3rev.com/products-page/custom-coding/add-predictive-search-function/ = 1.1.5 - 2012/11/19 = * Fix - Version 1.1.4 fix where we removed Predictive Search filter 'posts_search' from single product page edit page to fix the Cross sells and Upsells search caused the SKU search filter to be corrupted because we use Wordpress ajax to show results in the widget drop down. The ajax is called from admin-ajax.php file in admin so it also did not add the filter and show incorrect results. = 1.1.4 - 2012/11/16 = * Fix - Removed Predictive Search filter 'posts_search' from single product page edit page. The filter was causing the 'Related Products' Up-Sells and Cross-Sells 'Search for a Product' in the WooCommerce meta not to work at times on both the Lite version and the Pro version. = 1.1.3 - 2012/09/25 = * Feature - Added search by Product SKU to search 'Types'. Added to Widget control panel, Shortcode pop up and function. * Feature - Added option to show 'add to cart' button on search page results. = 1.1.2.2 - 2012/09/20 = * Fix - Shortcode relative horizontal placement in page and post content. * Fix - Shortcode text wrap left and right around the search box. = 1.1.2.1 - 2012/09/15 = * Tweak - Fixed typo on Widget (thanks Mark) * Tweak - Change text on drop down widget footer from "See all results for (Search term)" to "See more search results for (Search term) in:" to clarify that there are more results available by clicking on the name of search 'Type" that shows below it (eg Product categories - linked to All Search results pages) * Tweak - Changed text that show at top of the all results search page to highlight the results being currently viewed * Tweak - Changed sort text from Sort Search Results to Sort Search Results by * Fix - Edit get_term_link($item->slug, 'product_cat'); to get_term_link($item->slug, 'product_tag'); to show Tag results on Search Result Page = 1.1.2 - 2012/09/14 = Major Feature Upgrade. * Feature - Added Predictive Search for Product Categories from widget. * Feature - Added Predictive Search for Product Tags from widget. * Feature - Added Predictive Search for Posts from widget. * Feature - Added Predictive Search for Pages from widget. * Feature - Added the ability to sorting the 5 search types in Predictive Search widget * Feature - Added 'All Search Pages' types. Creates a page for each search type. * Feature - Apply Smart Search feature for Posts when on Categories or Tags page of post type * Feature - Added support for new parameters when manually adding Predictive Search function to theme. * Tweak - Added Plugin Documents to the a3rev wiki. * Tweak - Add plugin Documentation and Support links to the wp plugins dashboard description. * Fixed - Updated depreciated php function ereg() with stristr() so that auto plugin auto upgrade feature work without error for WordPress 3.4.0 and later = 1.1.1 - 2012/08/03 = * Tweak - Hide the description when enter 0 as the number of description characters in the sidebar widget and Admin panel. * Tweak - Show first thumb image in product gallery if the product does not have feature image. * Fix - Show the 6 results with 100 characters of product description by default when no value is present in Widget control and Admin panel * Fix - Change z-index for search box from 1001 to 99 so that themes nav bar dropdowns slide over it instead of behind the search box = 1.1.0 - 2012/08/01 = * Feature - Added 'Smart Search' option. Activate from each Widget and it auto detects which product group user is currently browsing and only queries and delivers results from that group not entire catalogue. * Feature - Added widget drop-down configuration settings to each widget panel including 'Smart Search' by default - but can be over-ridden by selecting Search All products. * Feature - Now has support for shortcodes, including an insert Predictive Search shortcode icon on every page and post and full customization from the shortcode pop up window. * Feature - Added horizontal Alignment and padding settings to shortcode pop up window. * Feature - Added Predictive Search Tab to WooCommerce Settings. * Feature - Configure All Search results page from the tab including set the number of results to show, number of product description characters, Show Categories, tags with each result, Show product prices with result, including Sale pricing and Priced from. * Feature - Add Predictive Search function to allow placing and configuration of the Predictive Search feature anywhere in the Theme. * Feature - Enqueue the script in the footer, via the widget. Now it is only loaded when needed rather than sitewide and has zero impact on page load speeds. * Fix - Title and description text wrapping under the product thumbnail in less wide sidebars. now displays beside the thumbnail and wraps gracefully. Also add independent horizontal scroll when one continuous line of text is wider than the sidebar. That individual result has scroll not the whole widget. * Fix - Bottom of the widget padding = 1.0 - 2012/06/19 = * First release.