Ajax Search for WooCommerce - Version 1.0.3.1

Version Description

Download this release

Release Info

Developer damian-gora
Plugin Icon 128x128 Ajax Search for WooCommerce
Version 1.0.3.1
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.3.1

ajax-search-for-woocommerce.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Ajax Search for WooCommerce
5
  * Plugin URI: https://wordpress.org/plugins/ajax-search-for-woocommerce/
6
  * Description: The plugin allows you to display the WooCommerce AJAX search form anywhere on the page.
7
- * Version: 1.0.3
8
  * Author: Damian Góra
9
  * Author URI: http://damiangora.com
10
  * Text Domain: ajax-search-for-woocommerce
@@ -97,7 +97,7 @@ if ( !class_exists( 'DGWT_WC_Ajax_Search' ) ) {
97
  */
98
  private function constants() {
99
 
100
- $this->define( 'DGWT_WCAS_VERSION', '1.0.3' );
101
  $this->define( 'DGWT_WCAS_NAME', 'Ajax Search for WooCommerce' );
102
  $this->define( 'DGWT_WCAS_FILE', __FILE__ );
103
  $this->define( 'DGWT_WCAS_DIR', plugin_dir_path( __FILE__ ) );
4
  * Plugin Name: Ajax Search for WooCommerce
5
  * Plugin URI: https://wordpress.org/plugins/ajax-search-for-woocommerce/
6
  * Description: The plugin allows you to display the WooCommerce AJAX search form anywhere on the page.
7
+ * Version: 1.0.3.1
8
  * Author: Damian Góra
9
  * Author URI: http://damiangora.com
10
  * Text Domain: ajax-search-for-woocommerce
97
  */
98
  private function constants() {
99
 
100
+ $this->define( 'DGWT_WCAS_VERSION', '1.0.3.1' );
101
  $this->define( 'DGWT_WCAS_NAME', 'Ajax Search for WooCommerce' );
102
  $this->define( 'DGWT_WCAS_FILE', __FILE__ );
103
  $this->define( 'DGWT_WCAS_DIR', plugin_dir_path( __FILE__ ) );
assets/css/style.css CHANGED
@@ -561,14 +561,14 @@ input[type="submit"].dgwt-wcas-search-submit, button.dgwt-wcas-search-submit{
561
  background-image: url('../img/preloader.png');
562
  background-repeat: no-repeat;
563
  background-position: right 15px center;
564
- background-size: auto 50%;
565
  }
566
 
567
  .dgwt-wcas-close{
568
  background-image: url('../img/close.png');
569
  background-repeat: no-repeat;
570
  background-position: right 15px center;
571
- background-size: auto 35%;
572
  opacity: 0.6;
573
  -webkit-transition: all 160ms ease-in-out;
574
  -moz-transition: all 160ms ease-in-out;
@@ -805,6 +805,7 @@ input[type="submit"].dgwt-wcas-search-submit, button.dgwt-wcas-search-submit{
805
  left: 12px;
806
  right: auto;
807
  opacity: 0.5;
 
808
  fill:#000;
809
  }
810
 
561
  background-image: url('../img/preloader.png');
562
  background-repeat: no-repeat;
563
  background-position: right 15px center;
564
+ background-size: auto 22px;
565
  }
566
 
567
  .dgwt-wcas-close{
568
  background-image: url('../img/close.png');
569
  background-repeat: no-repeat;
570
  background-position: right 15px center;
571
+ background-size: auto 18px;
572
  opacity: 0.6;
573
  -webkit-transition: all 160ms ease-in-out;
574
  -moz-transition: all 160ms ease-in-out;
805
  left: 12px;
806
  right: auto;
807
  opacity: 0.5;
808
+ max-height: 22px;
809
  fill:#000;
810
  }
811
 
includes/class-search.php CHANGED
@@ -457,7 +457,7 @@ class DGWT_WCAS_Search {
457
 
458
  public function set_search_results_query( $query ) {
459
 
460
- if ( !defined( 'DGWT_WCAS_AJAX' ) && is_search() ) {
461
 
462
  if(!empty($_GET['dgwt_wcas']) && !empty($_GET['s'])){
463
 
457
 
458
  public function set_search_results_query( $query ) {
459
 
460
+ if ( !defined( 'DGWT_WCAS_AJAX' ) && $query->is_search ) {
461
 
462
  if(!empty($_GET['dgwt_wcas']) && !empty($_GET['s'])){
463
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: AJAX, ajax search, autocomplete, category search, custom search, ecommerce, instant search, sive search, product search, products, search, search by sku, search highlight, search plugin, shop, woocommerce, woocommerce live search, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress search, wp ajax search, wp search, wp search plugin, wp tao
5
  Requires at least: 3.8
6
  Tested up to: 4.5.3
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -66,6 +66,10 @@ Any suggestions or comments are welcome. Feel free to contact me using this [con
66
 
67
  == Changelog ==
68
 
 
 
 
 
69
  = 1.0.3, July 22, 2016 =
70
  * FIX: Synchronization WP Query on a search page and ajax search query
71
  * CHANGE: Disable auto select the first suggestion
4
  Tags: AJAX, ajax search, autocomplete, category search, custom search, ecommerce, instant search, sive search, product search, products, search, search by sku, search highlight, search plugin, shop, woocommerce, woocommerce live search, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress search, wp ajax search, wp search, wp search plugin, wp tao
5
  Requires at least: 3.8
6
  Tested up to: 4.5.3
7
+ Stable tag: 1.0.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 1.0.3.1, July 24, 2016 =
70
+ * FIX: Disappearing widgets
71
+ * FIX: Trivial things in CSS
72
+
73
  = 1.0.3, July 22, 2016 =
74
  * FIX: Synchronization WP Query on a search page and ajax search query
75
  * CHANGE: Disable auto select the first suggestion