WooCommerce Products Per Page - Version 1.1.2

Version Description

11/09/2014 * WC 2.2 compatibility fix

Download this release

Release Info

Developer sormano
Plugin Icon 128x128 WooCommerce Products Per Page
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

Files changed (2) hide show
  1. readme.txt +5 -2
  2. woocommerce-products-per-page.php +2 -2
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: sormano
3
  Donate link: http://www.jeroensormani.com/donate/
4
  Tags: Products per page, woocommerce, woocommerce products, woocommerce products per page, woocommerce displayed products, woocommerce quantity products, woocommerce amount of products, woocommerce number of products, woocommerce shown products
5
  Requires at least: 3.6.0
6
- Tested up to: 3.9.2
7
- Stable tag: 1.1.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -43,6 +43,9 @@ Options like:
43
 
44
  == Changelog ==
45
 
 
 
 
46
  = 1.1.1 = 18/08/2014
47
  * Proper translation for 'All'
48
  * Products in admin area aren't influenced anymore
3
  Donate link: http://www.jeroensormani.com/donate/
4
  Tags: Products per page, woocommerce, woocommerce products, woocommerce products per page, woocommerce displayed products, woocommerce quantity products, woocommerce amount of products, woocommerce number of products, woocommerce shown products
5
  Requires at least: 3.6.0
6
+ Tested up to: 4.0
7
+ Stable tag: 1.1.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
43
 
44
  == Changelog ==
45
 
46
+ = 1.1.2 = 11/09/2014
47
+ * WC 2.2 compatibility fix
48
+
49
  = 1.1.1 = 18/08/2014
50
  * Proper translation for 'All'
51
  * Products in admin area aren't influenced anymore
woocommerce-products-per-page.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Woocommerce Products Per Page
4
  Plugin URI: http://www.jeroensormani.com/
5
  Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
- Version: 1.1.1
7
  Author: Jeroen Sormani
8
  Author URI: http://www.jeroensormani.com
9
 
@@ -354,7 +354,7 @@ class Woocommerce_Products_Per_Page {
354
 
355
  global $woocommerce;
356
 
357
- if ( $woocommerce->version > '2.1' ) :
358
  $woocommerce->session->set_customer_session_cookie( true );
359
  endif;
360
 
3
  Plugin Name: Woocommerce Products Per Page
4
  Plugin URI: http://www.jeroensormani.com/
5
  Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
+ Version: 1.1.2
7
  Author: Jeroen Sormani
8
  Author URI: http://www.jeroensormani.com
9
 
354
 
355
  global $woocommerce;
356
 
357
+ if ( $woocommerce->version > '2.1' && ! is_admin() ) :
358
  $woocommerce->session->set_customer_session_cookie( true );
359
  endif;
360