diff --git a/README.txt b/README.txt index 7ca3f2a..a9cc4cb 100755 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ Plugin URI: http://nickhaskins.com/wpls Tags: search, live search Requires at least: 3.5.1 Tested up to: 4.2.1 -Stable tag: 0.3 +Stable tag: 0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -53,6 +53,15 @@ It's a shortcode. Add [wp_search] to a page. Working on template functions for t == Changelog == += 0.4 = +* dont allow empty values and spaces for search +* allow enter to search so long as nothing is empty +* added a template function +* added searchAction schema +* misc style improvements +* added a define to allow CSS file not be loaded +* returns 20 results for now until we work in pagination/lazy loading + = 0.3 = * featured image support * renamed to WP Live Search diff --git a/public/assets/js/wp-live-search.js b/public/assets/js/wp-live-search.js index 42a71d8..0a1559a 100644 --- a/public/assets/js/wp-live-search.js +++ b/public/assets/js/wp-live-search.js @@ -95,7 +95,7 @@ } - })/*.blur(function(){ + }).blur(function(){ destroySearch(); }) diff --git a/wp-live-search.php b/wp-live-search.php index 19d01cf..a431959 100755 --- a/wp-live-search.php +++ b/wp-live-search.php @@ -10,7 +10,7 @@ * Plugin Name: WP Live Search * Plugin URI: http://nickhaskins.com * Description: A super light-weight live search plugin that utilizes the WP REST API - * Version: 0.3 + * Version: 0.4 * GitHub Plugin URI: https://github.com/bearded-avenger/wp-live-search */ @@ -20,7 +20,7 @@ } // Set some constants -define('WP_LIVE_SEARCH_VERSION', '0.3'); +define('WP_LIVE_SEARCH_VERSION', '0.4'); define('WP_LIVE_SEARCH_DIR', plugin_dir_path( __FILE__ )); define('WP_LIVE_SEARCH_URL', plugins_url( '', __FILE__ ));