Version Description
Download this release
Release Info
Developer | quadlayers |
Plugin | Perfect Brands for WooCommerce |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- classes/admin/class-pwb-coupon.php +1 -1
- perfect-woocommerce-brands.php +2 -2
- readme.txt +3 -1
classes/admin/class-pwb-coupon.php
CHANGED
@@ -18,7 +18,7 @@ class PWB_Coupon {
|
|
18 |
public function coupon_restriction() {
|
19 |
global $thepostid, $post;
|
20 |
|
21 |
-
$thepostid = empty( $thepostid ) ? $post->
|
22 |
|
23 |
$product_brands_ids = (array) get_post_meta( $thepostid, '_pwb_coupon_restriction', true );
|
24 |
$exclude_brands_ids = (array) get_post_meta( $thepostid, '_pwb_coupon_exclude_brands', true );
|
18 |
public function coupon_restriction() {
|
19 |
global $thepostid, $post;
|
20 |
|
21 |
+
$thepostid = empty( $thepostid ) ? $post->ID : $thepostid;
|
22 |
|
23 |
$product_brands_ids = (array) get_post_meta( $thepostid, '_pwb_coupon_restriction', true );
|
24 |
$exclude_brands_ids = (array) get_post_meta( $thepostid, '_pwb_coupon_exclude_brands', true );
|
perfect-woocommerce-brands.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Perfect Brands for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/perfect-woocommerce-brands/
|
6 |
* Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
7 |
-
* Version: 2.2.
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* Text Domain: perfect-woocommerce-brands
|
@@ -36,7 +36,7 @@ define( 'PWB_PLUGIN_FILE', __FILE__ );
|
|
36 |
define( 'PWB_PLUGIN_URL', plugins_url( '', __FILE__ ) );
|
37 |
define( 'PWB_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
|
38 |
define( 'PWB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
39 |
-
define( 'PWB_PLUGIN_VERSION', '2.2.
|
40 |
define( 'PWB_PLUGIN_NAME', 'Perfect WooCommerce Brands' );
|
41 |
define( 'PWB_PREFIX', 'pwb' );
|
42 |
define( 'PWB_REVIEW_URL', 'https://wordpress.org/support/plugin/perfect-woocommerce-brands/reviews/?filter=5#new-post' );
|
4 |
* Plugin Name: Perfect Brands for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/perfect-woocommerce-brands/
|
6 |
* Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
7 |
+
* Version: 2.2.3
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* Text Domain: perfect-woocommerce-brands
|
36 |
define( 'PWB_PLUGIN_URL', plugins_url( '', __FILE__ ) );
|
37 |
define( 'PWB_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
|
38 |
define( 'PWB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
39 |
+
define( 'PWB_PLUGIN_VERSION', '2.2.3' );
|
40 |
define( 'PWB_PLUGIN_NAME', 'Perfect WooCommerce Brands' );
|
41 |
define( 'PWB_PREFIX', 'pwb' );
|
42 |
define( 'PWB_REVIEW_URL', 'https://wordpress.org/support/plugin/perfect-woocommerce-brands/reviews/?filter=5#new-post' );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: woocommerce, woocommerce brands, woocommerce product, woocommerce manufact
|
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.2.
|
9 |
WC requires at least: 3.0
|
10 |
WC tested up to: 6.9
|
11 |
License: GPLv3
|
@@ -90,6 +90,8 @@ You can also contribute [translating the plugin](https://translate.wordpress.org
|
|
90 |
|
91 |
|
92 |
== Changelog ==
|
|
|
|
|
93 |
= 2.2.2=
|
94 |
* Fix: WooCommerce compatibility
|
95 |
= 2.2.1=
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.2.3
|
9 |
WC requires at least: 3.0
|
10 |
WC tested up to: 6.9
|
11 |
License: GPLv3
|
90 |
|
91 |
|
92 |
== Changelog ==
|
93 |
+
= 2.2.3=
|
94 |
+
* Fix: php error
|
95 |
= 2.2.2=
|
96 |
* Fix: WooCommerce compatibility
|
97 |
= 2.2.1=
|