Version Description
Download this release
Release Info
Developer | quadlayers |
Plugin | Perfect Brands for WooCommerce |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- includes/quadlayers/notices.php +11 -11
- perfect-woocommerce-brands.php +3 -6
- readme.txt +3 -1
includes/quadlayers/notices.php
CHANGED
@@ -76,15 +76,15 @@ class PWB_Notices {
|
|
76 |
</div>
|
77 |
<div class="notice-content" style="margin-left: 15px;">
|
78 |
<p>
|
79 |
-
<?php printf( esc_html__( 'Hello! Thank you for choosing the %s plugin!', '
|
80 |
<br/>
|
81 |
-
<?php esc_html_e( 'Could you please give it a 5-star rating on WordPress?. Your feedback will boost our motivation and help us promote and continue to improve this product.', '
|
82 |
</p>
|
83 |
<a href="<?php echo esc_url( PWB_REVIEW_URL ); ?>" class="button-primary" target="_blank">
|
84 |
-
<?php esc_html_e( 'Yes, of course!', '
|
85 |
</a>
|
86 |
<a href="<?php echo esc_url( PWB_SUPPORT_URL ); ?>" class="button-secondary" target="_blank">
|
87 |
-
<?php esc_html_e( 'Report a bug', '
|
88 |
</a>
|
89 |
</div>
|
90 |
</div>
|
@@ -102,17 +102,17 @@ class PWB_Notices {
|
|
102 |
</div>
|
103 |
<div class="notice-content" style="margin-left: 15px;">
|
104 |
<p>
|
105 |
-
<?php esc_html_e( 'Hello! We have a special gift!', '
|
106 |
<br />
|
107 |
<?php
|
108 |
printf(
|
109 |
-
esc_html__( 'Today we want to make you a special gift. Using this coupon before the next 48 hours you can get a 20 percent discount on the premium version of the %s plugin.', '
|
110 |
esc_html( PWB_PREMIUM_SELL_NAME )
|
111 |
)
|
112 |
?>
|
113 |
</p>
|
114 |
<a href="<?php echo esc_url( PWB_PREMIUM_SELL_URL ); ?>" class="button-primary" target="_blank">
|
115 |
-
<?php esc_html_e( 'More info', '
|
116 |
</a>
|
117 |
<input style="width:130px" type="text" value="ADMINPANEL20%"/>
|
118 |
</div>
|
@@ -140,7 +140,7 @@ class PWB_Notices {
|
|
140 |
</div>
|
141 |
<div class="notice-content" style="margin-left: 15px;">
|
142 |
<p>
|
143 |
-
<?php printf( esc_html__( 'Hello! We want to invite you to try our %s plugin!', '
|
144 |
<br/>
|
145 |
<?php echo esc_html( PWB_CROSS_INSTALL_DESCRIPTION ); ?>
|
146 |
</p>
|
@@ -148,7 +148,7 @@ class PWB_Notices {
|
|
148 |
<?php echo esc_html( $action ); ?>
|
149 |
</a>
|
150 |
<a href="<?php echo esc_url( PWB_CROSS_INSTALL_URL ); ?>" class="button-secondary" target="_blank">
|
151 |
-
<?php esc_html_e( 'More info', '
|
152 |
</a>
|
153 |
</div>
|
154 |
</div>
|
@@ -182,7 +182,7 @@ class PWB_Notices {
|
|
182 |
}
|
183 |
|
184 |
return array(
|
185 |
-
esc_html__( 'Activate', '
|
186 |
wp_nonce_url( "plugins.php?action=activate&plugin={$plugin_file}&plugin_status=all&paged=1", "activate-plugin_{$plugin_file}" ),
|
187 |
);
|
188 |
|
@@ -193,7 +193,7 @@ class PWB_Notices {
|
|
193 |
}
|
194 |
|
195 |
return array(
|
196 |
-
esc_html__( 'Install', '
|
197 |
wp_nonce_url( self_admin_url( "update.php?action=install-plugin&plugin={$plugin_slug}" ), "install-plugin_{$plugin_slug}" ),
|
198 |
);
|
199 |
|
76 |
</div>
|
77 |
<div class="notice-content" style="margin-left: 15px;">
|
78 |
<p>
|
79 |
+
<?php printf( esc_html__( 'Hello! Thank you for choosing the %s plugin!', 'perfect-woocommerce-brands' ), PWB_PLUGIN_NAME ); ?>
|
80 |
<br/>
|
81 |
+
<?php esc_html_e( 'Could you please give it a 5-star rating on WordPress?. Your feedback will boost our motivation and help us promote and continue to improve this product.', 'perfect-woocommerce-brands' ); ?>
|
82 |
</p>
|
83 |
<a href="<?php echo esc_url( PWB_REVIEW_URL ); ?>" class="button-primary" target="_blank">
|
84 |
+
<?php esc_html_e( 'Yes, of course!', 'perfect-woocommerce-brands' ); ?>
|
85 |
</a>
|
86 |
<a href="<?php echo esc_url( PWB_SUPPORT_URL ); ?>" class="button-secondary" target="_blank">
|
87 |
+
<?php esc_html_e( 'Report a bug', 'perfect-woocommerce-brands' ); ?>
|
88 |
</a>
|
89 |
</div>
|
90 |
</div>
|
102 |
</div>
|
103 |
<div class="notice-content" style="margin-left: 15px;">
|
104 |
<p>
|
105 |
+
<?php esc_html_e( 'Hello! We have a special gift!', 'perfect-woocommerce-brands' ); ?>
|
106 |
<br />
|
107 |
<?php
|
108 |
printf(
|
109 |
+
esc_html__( 'Today we want to make you a special gift. Using this coupon before the next 48 hours you can get a 20 percent discount on the premium version of the %s plugin.', 'perfect-woocommerce-brands' ),
|
110 |
esc_html( PWB_PREMIUM_SELL_NAME )
|
111 |
)
|
112 |
?>
|
113 |
</p>
|
114 |
<a href="<?php echo esc_url( PWB_PREMIUM_SELL_URL ); ?>" class="button-primary" target="_blank">
|
115 |
+
<?php esc_html_e( 'More info', 'perfect-woocommerce-brands' ); ?>
|
116 |
</a>
|
117 |
<input style="width:130px" type="text" value="ADMINPANEL20%"/>
|
118 |
</div>
|
140 |
</div>
|
141 |
<div class="notice-content" style="margin-left: 15px;">
|
142 |
<p>
|
143 |
+
<?php printf( esc_html__( 'Hello! We want to invite you to try our %s plugin!', 'perfect-woocommerce-brands' ), esc_html( PWB_CROSS_INSTALL_NAME ) ); ?>
|
144 |
<br/>
|
145 |
<?php echo esc_html( PWB_CROSS_INSTALL_DESCRIPTION ); ?>
|
146 |
</p>
|
148 |
<?php echo esc_html( $action ); ?>
|
149 |
</a>
|
150 |
<a href="<?php echo esc_url( PWB_CROSS_INSTALL_URL ); ?>" class="button-secondary" target="_blank">
|
151 |
+
<?php esc_html_e( 'More info', 'perfect-woocommerce-brands' ); ?>
|
152 |
</a>
|
153 |
</div>
|
154 |
</div>
|
182 |
}
|
183 |
|
184 |
return array(
|
185 |
+
esc_html__( 'Activate', 'perfect-woocommerce-brands' ),
|
186 |
wp_nonce_url( "plugins.php?action=activate&plugin={$plugin_file}&plugin_status=all&paged=1", "activate-plugin_{$plugin_file}" ),
|
187 |
);
|
188 |
|
193 |
}
|
194 |
|
195 |
return array(
|
196 |
+
esc_html__( 'Install', 'perfect-woocommerce-brands' ),
|
197 |
wp_nonce_url( self_admin_url( "update.php?action=install-plugin&plugin={$plugin_slug}" ), "install-plugin_{$plugin_slug}" ),
|
198 |
);
|
199 |
|
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' );
|
@@ -54,9 +54,7 @@ define( 'PWB_PREMIUM_SELL_URL', 'https://quadlayers.com/portfolio/woocommerce-di
|
|
54 |
define( 'PWB_CROSS_INSTALL_SLUG', 'woocommerce-checkout-manager' );
|
55 |
define( 'PWB_CROSS_INSTALL_NAME', 'Checkout Manager' );
|
56 |
define( 'PWB_CROSS_INSTALL_DESCRIPTION', esc_html__( 'Checkout Field Manager( Checkout Manager ) for WooCommerce allows you to add custom fields to the checkout page, related to billing, Shipping or Additional fields sections.', 'perfect-woocommerce-brands' ) );
|
57 |
-
define( 'PWB_CROSS_INSTALL_URL', 'https://
|
58 |
-
|
59 |
-
|
60 |
|
61 |
register_activation_hook(
|
62 |
__FILE__,
|
@@ -81,7 +79,6 @@ add_action(
|
|
81 |
}
|
82 |
);
|
83 |
|
84 |
-
|
85 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/widget.php';
|
86 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/notices.php';
|
87 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/links.php';
|
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.1
|
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.1' );
|
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' );
|
54 |
define( 'PWB_CROSS_INSTALL_SLUG', 'woocommerce-checkout-manager' );
|
55 |
define( 'PWB_CROSS_INSTALL_NAME', 'Checkout Manager' );
|
56 |
define( 'PWB_CROSS_INSTALL_DESCRIPTION', esc_html__( 'Checkout Field Manager( Checkout Manager ) for WooCommerce allows you to add custom fields to the checkout page, related to billing, Shipping or Additional fields sections.', 'perfect-woocommerce-brands' ) );
|
57 |
+
define( 'PWB_CROSS_INSTALL_URL', 'https://quadlayers.com/portfolio/woocommerce-checkout-manager/?utm_source=pwb_admin' );
|
|
|
|
|
58 |
|
59 |
register_activation_hook(
|
60 |
__FILE__,
|
79 |
}
|
80 |
);
|
81 |
|
|
|
82 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/widget.php';
|
83 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/notices.php';
|
84 |
require_once PWB_PLUGIN_DIR . 'includes/quadlayers/links.php';
|
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.8
|
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.0=
|
94 |
* Fix: WooCommerce compatibility
|
95 |
= 2.1.9=
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.2.1
|
9 |
WC requires at least: 3.0
|
10 |
WC tested up to: 6.8
|
11 |
License: GPLv3
|
90 |
|
91 |
|
92 |
== Changelog ==
|
93 |
+
= 2.2.1=
|
94 |
+
* Fix: WooCommerce compatibility
|
95 |
= 2.2.0=
|
96 |
* Fix: WooCommerce compatibility
|
97 |
= 2.1.9=
|