Version Description
- 18/07/17 =
- Fix Rules limit issue
Download this release
Release Info
Developer | flycart |
Plugin | Discount Rules for WooCommerce |
Version | 1.4.14 |
Comparing to | |
See all releases |
Code changes from version 1.4.13 to 1.4.14
- includes/cart-rules-3.php +1 -1
- includes/cart-rules.php +1 -1
- includes/pricing-rules-3.php +1 -1
- includes/pricing-rules.php +1 -1
- readme.txt +4 -1
- woo-discount-rules.php +1 -1
includes/cart-rules-3.php
CHANGED
@@ -208,7 +208,7 @@ if (!class_exists('woo_dicount_rules_cartRules')) {
|
|
208 |
*/
|
209 |
public function getRules($onlyCount = false)
|
210 |
{
|
211 |
-
$posts = get_posts(array('post_type' => $this->post_type));
|
212 |
if ($onlyCount) return count($posts);
|
213 |
if (isset($posts) && count($posts) > 0) {
|
214 |
foreach ($posts as $index => $item) {
|
208 |
*/
|
209 |
public function getRules($onlyCount = false)
|
210 |
{
|
211 |
+
$posts = get_posts(array('post_type' => $this->post_type, 'numberposts' => ''));
|
212 |
if ($onlyCount) return count($posts);
|
213 |
if (isset($posts) && count($posts) > 0) {
|
214 |
foreach ($posts as $index => $item) {
|
includes/cart-rules.php
CHANGED
@@ -208,7 +208,7 @@ if (!class_exists('woo_dicount_rules_cartRules')) {
|
|
208 |
*/
|
209 |
public function getRules($onlyCount = false)
|
210 |
{
|
211 |
-
$posts = get_posts(array('post_type' => $this->post_type));
|
212 |
if ($onlyCount) return count($posts);
|
213 |
if (isset($posts) && count($posts) > 0) {
|
214 |
foreach ($posts as $index => $item) {
|
208 |
*/
|
209 |
public function getRules($onlyCount = false)
|
210 |
{
|
211 |
+
$posts = get_posts(array('post_type' => $this->post_type, 'numberposts' => ''));
|
212 |
if ($onlyCount) return count($posts);
|
213 |
if (isset($posts) && count($posts) > 0) {
|
214 |
foreach ($posts as $index => $item) {
|
includes/pricing-rules-3.php
CHANGED
@@ -267,7 +267,7 @@ if (!class_exists('woo_dicount_rules_pricingRules')) {
|
|
267 |
*/
|
268 |
public function getRules($onlyCount = false)
|
269 |
{
|
270 |
-
$posts = get_posts(array('post_type' => $this->post_type));
|
271 |
if ($onlyCount) return count($posts);
|
272 |
if (isset($posts) && count($posts) > 0) {
|
273 |
foreach ($posts as $index => $item) {
|
267 |
*/
|
268 |
public function getRules($onlyCount = false)
|
269 |
{
|
270 |
+
$posts = get_posts(array('post_type' => $this->post_type, 'numberposts' => ''));
|
271 |
if ($onlyCount) return count($posts);
|
272 |
if (isset($posts) && count($posts) > 0) {
|
273 |
foreach ($posts as $index => $item) {
|
includes/pricing-rules.php
CHANGED
@@ -267,7 +267,7 @@ if (!class_exists('woo_dicount_rules_pricingRules')) {
|
|
267 |
*/
|
268 |
public function getRules($onlyCount = false)
|
269 |
{
|
270 |
-
$posts = get_posts(array('post_type' => $this->post_type));
|
271 |
if ($onlyCount) return count($posts);
|
272 |
if (isset($posts) && count($posts) > 0) {
|
273 |
foreach ($posts as $index => $item) {
|
267 |
*/
|
268 |
public function getRules($onlyCount = false)
|
269 |
{
|
270 |
+
$posts = get_posts(array('post_type' => $this->post_type, 'numberposts' => ''));
|
271 |
if ($onlyCount) return count($posts);
|
272 |
if (isset($posts) && count($posts) > 0) {
|
273 |
foreach ($posts as $index => $item) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flycart.org/
|
|
4 |
Tags: woocommerce, ecommerce, discounts, coupons, promotion, campaigns, sales, price rules, advanced coupons, advanced discounts
|
5 |
Requires at least: 4.4.1
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -111,6 +111,9 @@ More information could be found in the documentation
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
|
|
114 |
= 1.4.13 - 15/06/17 =
|
115 |
* WooCommerce Currency Switcher compatibility added
|
116 |
|
4 |
Tags: woocommerce, ecommerce, discounts, coupons, promotion, campaigns, sales, price rules, advanced coupons, advanced discounts
|
5 |
Requires at least: 4.4.1
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.4.14
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.4.14 - 18/07/17 =
|
115 |
+
* Fix – Rules limit issue
|
116 |
+
|
117 |
= 1.4.13 - 15/06/17 =
|
118 |
* WooCommerce Currency Switcher compatibility added
|
119 |
|
woo-discount-rules.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Simple Discount Rules for WooCommerce.
|
6 |
* Author: Flycart Technologies LLP
|
7 |
* Author URI: https://www.flycart.org
|
8 |
-
* Version: 1.4.
|
9 |
* Slug: woo-discount-rules
|
10 |
* Text Domain: woo-discount-rules
|
11 |
* Requires at least: 4.6.1
|
5 |
* Description: Simple Discount Rules for WooCommerce.
|
6 |
* Author: Flycart Technologies LLP
|
7 |
* Author URI: https://www.flycart.org
|
8 |
+
* Version: 1.4.14
|
9 |
* Slug: woo-discount-rules
|
10 |
* Text Domain: woo-discount-rules
|
11 |
* Requires at least: 4.6.1
|