Version Description
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 2.2.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.9 to 2.2.0
- includes/quadlayers/notices.php +17 -17
- perfect-woocommerce-brands.php +10 -6
- readme.txt +3 -1
includes/quadlayers/notices.php
CHANGED
|
@@ -61,7 +61,7 @@ class PWB_Notices {
|
|
| 61 |
</script>
|
| 62 |
<?php
|
| 63 |
|
| 64 |
-
$plugin_slug =
|
| 65 |
|
| 66 |
$user_rating = ! get_user_meta( get_current_user_id(), 'pwb-user-rating', true );
|
| 67 |
$user_premium = ! get_user_meta( get_current_user_id(), 'pwb-user-premium', true ) && ! $this->is_installed( "{$plugin_slug}/{$plugin_slug}.php" );
|
|
@@ -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,19 +102,19 @@ 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(
|
| 111 |
)
|
| 112 |
?>
|
| 113 |
</p>
|
| 114 |
-
<a href="<?php echo esc_url(
|
| 115 |
-
<?php esc_html_e( 'More info', '
|
| 116 |
</a>
|
| 117 |
-
<input style="width:
|
| 118 |
</div>
|
| 119 |
</div>
|
| 120 |
</div>
|
|
@@ -140,15 +140,15 @@ 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(
|
| 146 |
</p>
|
| 147 |
<a href="<?php echo esc_url( $action_link ); ?>" class="button-primary">
|
| 148 |
<?php echo esc_html( $action ); ?>
|
| 149 |
</a>
|
| 150 |
-
<a href="<?php echo esc_url(
|
| 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 |
|
| 61 |
</script>
|
| 62 |
<?php
|
| 63 |
|
| 64 |
+
$plugin_slug = PWB_PREMIUM_SELL_SLUG;
|
| 65 |
|
| 66 |
$user_rating = ! get_user_meta( get_current_user_id(), 'pwb-user-rating', true );
|
| 67 |
$user_premium = ! get_user_meta( get_current_user_id(), 'pwb-user-premium', true ) && ! $this->is_installed( "{$plugin_slug}/{$plugin_slug}.php" );
|
| 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!', 'autocomplete-woocommerce-orders' ), 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.', 'autocomplete-woocommerce-orders' ); ?>
|
| 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!', 'autocomplete-woocommerce-orders' ); ?>
|
| 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', 'autocomplete-woocommerce-orders' ); ?>
|
| 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!', 'autocomplete-woocommerce-orders' ); ?>
|
| 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.', 'autocomplete-woocommerce-orders' ),
|
| 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', 'autocomplete-woocommerce-orders' ); ?>
|
| 116 |
</a>
|
| 117 |
+
<input style="width:130px" type="text" value="ADMINPANEL20%"/>
|
| 118 |
</div>
|
| 119 |
</div>
|
| 120 |
</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!', 'autocomplete-woocommerce-orders' ), esc_html( PWB_CROSS_INSTALL_NAME ) ); ?>
|
| 144 |
<br/>
|
| 145 |
+
<?php echo esc_html( PWB_CROSS_INSTALL_DESCRIPTION ); ?>
|
| 146 |
</p>
|
| 147 |
<a href="<?php echo esc_url( $action_link ); ?>" class="button-primary">
|
| 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', 'autocomplete-woocommerce-orders' ); ?>
|
| 152 |
</a>
|
| 153 |
</div>
|
| 154 |
</div>
|
| 182 |
}
|
| 183 |
|
| 184 |
return array(
|
| 185 |
+
esc_html__( 'Activate', 'autocomplete-woocommerce-orders' ),
|
| 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', 'autocomplete-woocommerce-orders' ),
|
| 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.
|
| 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.
|
| 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' );
|
|
@@ -47,11 +47,15 @@ define( 'PWB_DOCUMENTATION_URL', 'https://quadlayers.com/documentation/perfect-w
|
|
| 47 |
define( 'PWB_GITHUB_URL', 'https://github.com/quadlayers/perfect-woocommerce-brands/' );
|
| 48 |
define( 'PWB_GROUP_URL', 'https://www.facebook.com/groups/quadlayers' );
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
define( 'PWB_CROSS_INSTALL_SLUG', 'woocommerce-checkout-manager' );
|
| 51 |
-
define( '
|
| 52 |
-
define( '
|
| 53 |
-
define( '
|
| 54 |
-
|
| 55 |
|
| 56 |
|
| 57 |
register_activation_hook(
|
| 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.0
|
| 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.0' );
|
| 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' );
|
| 47 |
define( 'PWB_GITHUB_URL', 'https://github.com/quadlayers/perfect-woocommerce-brands/' );
|
| 48 |
define( 'PWB_GROUP_URL', 'https://www.facebook.com/groups/quadlayers' );
|
| 49 |
|
| 50 |
+
define( 'PWB_PREMIUM_SELL_SLUG', 'woocommerce-direct-checkout-pro' );
|
| 51 |
+
define( 'PWB_PREMIUM_SELL_NAME', 'WooCommerce Direct Checkout' );
|
| 52 |
+
define( 'PWB_PREMIUM_SELL_URL', 'https://quadlayers.com/portfolio/woocommerce-direct-checkout/?utm_source=pwb_admin' );
|
| 53 |
+
|
| 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 |
|
| 60 |
|
| 61 |
register_activation_hook(
|
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.
|
| 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.1.9=
|
| 94 |
* Fix: WooCommerce compatibility
|
| 95 |
= 2.1.8=
|
| 5 |
Requires at least: 4.7
|
| 6 |
Tested up to: 6.0
|
| 7 |
Requires PHP: 5.6
|
| 8 |
+
Stable tag: 2.2.0
|
| 9 |
WC requires at least: 3.0
|
| 10 |
WC tested up to: 6.8
|
| 11 |
License: GPLv3
|
| 90 |
|
| 91 |
|
| 92 |
== Changelog ==
|
| 93 |
+
= 2.2.0=
|
| 94 |
+
* Fix: WooCommerce compatibility
|
| 95 |
= 2.1.9=
|
| 96 |
* Fix: WooCommerce compatibility
|
| 97 |
= 2.1.8=
|
