Perfect Brands for WooCommerce - Version 2.1.5

Version Description

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 Perfect Brands for WooCommerce
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

classes/class-perfect-woocommerce-brands.php CHANGED
@@ -685,8 +685,8 @@ class Perfect_Woocommerce_Brands {
685
  echo '<div class="pwb-single-product-brands pwb-clearfix">';
686
 
687
  if ( $show_as == 'brand_link' ) {
688
- $before_brands_links = '<span class="pwb-text-before-brands-links">';
689
- $before_brands_links .= apply_filters( 'pwb_text_before_brands_links', esc_html__( 'Brands', 'perfect-woocommerce-brands' ) );
690
  $before_brands_links .= ':</span>';
691
  echo wp_kses_post( apply_filters( 'pwb_html_before_brands_links', $before_brands_links ) );
692
  }
685
  echo '<div class="pwb-single-product-brands pwb-clearfix">';
686
 
687
  if ( $show_as == 'brand_link' ) {
688
+ $before_brands_links = '<span class="pwb-text-before-brands-links">';
689
+ $before_brands_links .= apply_filters( 'pwb_text_before_brands_links', esc_html( _n( 'Brand', 'Brands', count( $brands ), 'perfect-woocommerce-brands' ) ), count( $brands ) );
690
  $before_brands_links .= ':</span>';
691
  echo wp_kses_post( apply_filters( 'pwb_html_before_brands_links', $before_brands_links ) );
692
  }
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.1.4
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.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.1.4' );
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.5
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.7
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.5' );
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.1.4
9
  WC requires at least: 3.0
10
- WC tested up to: 6.6.1
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.1.4=
94
  * Fix: QuadLayers widget image
95
  = 2.1.3 =
5
  Requires at least: 4.7
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.5
9
  WC requires at least: 3.0
10
+ WC tested up to: 6.7
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
 
90
 
91
 
92
  == Changelog ==
93
+ = 2.1.5=
94
+ * Fix: WooCommerce Product Brands translation plural
95
  = 2.1.4=
96
  * Fix: QuadLayers widget image
97
  = 2.1.3 =