Version Description
Download this release
Release Info
Developer | sormano |
Plugin | WooCommerce Products Per Page |
Version | 1.1.5 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.1.5
- readme.txt +6 -2
- woocommerce-products-per-page.php +2 -3
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WooCommerce Products Per Page ===
|
2 |
Contributors: sormano
|
3 |
Donate link: http://www.jeroensormani.com/donate/
|
4 |
-
Tags: Products per page, woocommerce
|
5 |
Requires at least: 3.6.0
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -44,6 +44,10 @@ Options like:
|
|
44 |
|
45 |
== Changelog ==
|
46 |
|
|
|
|
|
|
|
|
|
47 |
= 1.1.4 - 10/01/2015 =
|
48 |
|
49 |
* Fix - Dropdown hides behind add to cart notice (non-ajax button)
|
1 |
=== WooCommerce Products Per Page ===
|
2 |
Contributors: sormano
|
3 |
Donate link: http://www.jeroensormani.com/donate/
|
4 |
+
Tags: Products per page, 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.1
|
7 |
+
Stable tag: 1.1.5
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
44 |
|
45 |
== Changelog ==
|
46 |
|
47 |
+
= 1.1.4 - 15/02/2015 =
|
48 |
+
|
49 |
+
* Fix - Console notice in rare cases after WC 2.3 update
|
50 |
+
|
51 |
= 1.1.4 - 10/01/2015 =
|
52 |
|
53 |
* Fix - Dropdown hides behind add to cart notice (non-ajax button)
|
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.
|
7 |
* Author: Jeroen Sormani
|
8 |
* Author URI: http://www.jeroensormani.com
|
9 |
|
@@ -38,7 +38,6 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
38 |
* @version 1.1.0
|
39 |
* @author Jeroen Sormani
|
40 |
*/
|
41 |
-
|
42 |
class Woocommerce_Products_Per_Page {
|
43 |
|
44 |
/**
|
@@ -355,7 +354,7 @@ class Woocommerce_Products_Per_Page {
|
|
355 |
*/
|
356 |
public function wppp_set_customer_session() {
|
357 |
|
358 |
-
if ( WC()->version > '2.1' && ! is_admin() ) :
|
359 |
WC()->session->set_customer_session_cookie( true );
|
360 |
endif;
|
361 |
|
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.5
|
7 |
* Author: Jeroen Sormani
|
8 |
* Author URI: http://www.jeroensormani.com
|
9 |
|
38 |
* @version 1.1.0
|
39 |
* @author Jeroen Sormani
|
40 |
*/
|
|
|
41 |
class Woocommerce_Products_Per_Page {
|
42 |
|
43 |
/**
|
354 |
*/
|
355 |
public function wppp_set_customer_session() {
|
356 |
|
357 |
+
if ( WC()->version > '2.1' && ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) ) :
|
358 |
WC()->session->set_customer_session_cookie( true );
|
359 |
endif;
|
360 |
|