Version Description
- Fix: Brand description in product tab
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 2.1.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.9 to 2.1.0
- classes/class-pwb-product-tab.php +9 -2
- perfect-woocommerce-brands.php +3 -3
- readme.txt +4 -2
classes/class-pwb-product-tab.php
CHANGED
|
@@ -48,10 +48,17 @@ class PWB_Product_Tab {
|
|
| 48 |
<div id="tab-pwb_tab-content">
|
| 49 |
<h3><?php echo esc_html( $brand->name ); ?></h3>
|
| 50 |
<?php if ( ! empty( $brand->description ) ) : ?>
|
| 51 |
-
<div
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
<?php endif; ?>
|
| 53 |
<?php if ( ! empty( $brand_logo ) ) : ?>
|
| 54 |
-
<span
|
|
|
|
|
|
|
| 55 |
<?php endif; ?>
|
| 56 |
</div>
|
| 57 |
<?php endforeach; ?>
|
| 48 |
<div id="tab-pwb_tab-content">
|
| 49 |
<h3><?php echo esc_html( $brand->name ); ?></h3>
|
| 50 |
<?php if ( ! empty( $brand->description ) ) : ?>
|
| 51 |
+
<div>
|
| 52 |
+
<?php
|
| 53 |
+
$content = apply_filters( 'the_content', $brand->description );
|
| 54 |
+
echo wp_kses_post( $content );
|
| 55 |
+
?>
|
| 56 |
+
</div>
|
| 57 |
<?php endif; ?>
|
| 58 |
<?php if ( ! empty( $brand_logo ) ) : ?>
|
| 59 |
+
<span>
|
| 60 |
+
<?php echo wp_kses_post( $brand_logo ); ?>
|
| 61 |
+
</span>
|
| 62 |
<?php endif; ?>
|
| 63 |
</div>
|
| 64 |
<?php endforeach; ?>
|
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.0
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* Text Domain: perfect-woocommerce-brands
|
|
@@ -24,7 +24,7 @@
|
|
| 24 |
* along with Perfect WooCommerce Brands. If not, see <http://www.gnu.org/licenses/>.
|
| 25 |
*
|
| 26 |
* WC requires at least: 3.1.0
|
| 27 |
-
* WC tested up to: 6.
|
| 28 |
*/
|
| 29 |
|
| 30 |
namespace 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.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' );
|
| 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.1.0
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* Text Domain: perfect-woocommerce-brands
|
| 24 |
* along with Perfect WooCommerce Brands. If not, see <http://www.gnu.org/licenses/>.
|
| 25 |
*
|
| 26 |
* WC requires at least: 3.1.0
|
| 27 |
+
* WC tested up to: 6.6
|
| 28 |
*/
|
| 29 |
|
| 30 |
namespace 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.1.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' );
|
readme.txt
CHANGED
|
@@ -5,9 +5,9 @@ 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.0
|
| 9 |
WC requires at least: 3.0
|
| 10 |
-
WC tested up to: 6.
|
| 11 |
License: GPLv3
|
| 12 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 13 |
|
|
@@ -90,6 +90,8 @@ You can also contribute [translating the plugin](https://translate.wordpress.org
|
|
| 90 |
|
| 91 |
|
| 92 |
== Changelog ==
|
|
|
|
|
|
|
| 93 |
= 2.0.9 =
|
| 94 |
* Fix: Exclude coupons from brands
|
| 95 |
= 2.0.7 =
|
| 5 |
Requires at least: 4.7
|
| 6 |
Tested up to: 6.0
|
| 7 |
Requires PHP: 5.6
|
| 8 |
+
Stable tag: 2.1.0
|
| 9 |
WC requires at least: 3.0
|
| 10 |
+
WC tested up to: 6.6
|
| 11 |
License: GPLv3
|
| 12 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 13 |
|
| 90 |
|
| 91 |
|
| 92 |
== Changelog ==
|
| 93 |
+
= 2.1.0 =
|
| 94 |
+
* Fix: Brand description in product tab
|
| 95 |
= 2.0.9 =
|
| 96 |
* Fix: Exclude coupons from brands
|
| 97 |
= 2.0.7 =
|
