Version Description
- Fix: Stupid JS error introduced in the previous version
Download this release
Release Info
Developer | titodevera |
Plugin | Perfect Brands for WooCommerce |
Version | 1.7.5 |
Comparing to | |
See all releases |
Code changes from version 1.7.4 to 1.7.5
- classes/class-perfect-woocommerce-brands.php +8 -6
- main.php +3 -3
- readme.txt +3 -1
classes/class-perfect-woocommerce-brands.php
CHANGED
@@ -656,11 +656,6 @@ class Perfect_Woocommerce_Brands{
|
|
656 |
true
|
657 |
);
|
658 |
|
659 |
-
wp_localize_script( 'pwb-lib-slick', 'ajax_object', array(
|
660 |
-
'carousel_prev' => apply_filters('pwb_carousel_prev','<'),
|
661 |
-
'carousel_next' => apply_filters('pwb_carousel_next','>')
|
662 |
-
) );
|
663 |
-
|
664 |
wp_register_style(
|
665 |
'pwb-lib-slick',
|
666 |
PWB_PLUGIN . '/assets/lib/slick/slick.css',
|
@@ -677,7 +672,7 @@ class Perfect_Woocommerce_Brands{
|
|
677 |
'all'
|
678 |
);
|
679 |
|
680 |
-
|
681 |
'pwb-functions-frontend',
|
682 |
PWB_PLUGIN . '/assets/js/functions-frontend.min.js',
|
683 |
array('jquery'),
|
@@ -685,6 +680,13 @@ class Perfect_Woocommerce_Brands{
|
|
685 |
true
|
686 |
);
|
687 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
}
|
689 |
|
690 |
public function admin_enqueue_scripts( $hook ){
|
656 |
true
|
657 |
);
|
658 |
|
|
|
|
|
|
|
|
|
|
|
659 |
wp_register_style(
|
660 |
'pwb-lib-slick',
|
661 |
PWB_PLUGIN . '/assets/lib/slick/slick.css',
|
672 |
'all'
|
673 |
);
|
674 |
|
675 |
+
wp_register_script(
|
676 |
'pwb-functions-frontend',
|
677 |
PWB_PLUGIN . '/assets/js/functions-frontend.min.js',
|
678 |
array('jquery'),
|
680 |
true
|
681 |
);
|
682 |
|
683 |
+
wp_localize_script( 'pwb-functions-frontend', 'ajax_object', array(
|
684 |
+
'carousel_prev' => apply_filters('pwb_carousel_prev','<'),
|
685 |
+
'carousel_next' => apply_filters('pwb_carousel_next','>')
|
686 |
+
) );
|
687 |
+
|
688 |
+
wp_enqueue_script('pwb-functions-frontend');
|
689 |
+
|
690 |
}
|
691 |
|
692 |
public function admin_enqueue_scripts( $hook ){
|
main.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: Perfect WooCommerce Brands
|
4 |
* Plugin URI: https://wordpress.org/plugins/perfect-woocommerce-brands/
|
5 |
* Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: Alberto de Vera Sevilla
|
8 |
* Author URI: https://profiles.wordpress.org/titodevera/
|
9 |
* Text Domain: perfect-woocommerce-brands
|
10 |
* Domain Path: /lang
|
11 |
* License: GPL3
|
12 |
-
* Perfect WooCommerce Brands version 1.7.
|
13 |
* Perfect WooCommerce Brands is free software: you can redistribute it and/or modify
|
14 |
* it under the terms of the GNU General Public License as published by
|
15 |
* the Free Software Foundation, either version 3 of the License, or
|
@@ -34,7 +34,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
34 |
define( 'PWB_PLUGIN', plugins_url( '', __FILE__ ) );
|
35 |
define( 'PWB_PLUGIN_PATH', plugin_basename( dirname( __FILE__ ) ) );
|
36 |
define( 'PWB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
37 |
-
define( 'PWB_PLUGIN_VERSION', '1.7.
|
38 |
define( 'PWB_WP_VERSION', get_bloginfo( 'version' ) );
|
39 |
define( 'PWB_WC_VERSION', get_option( 'woocommerce_version' ) );
|
40 |
|
3 |
* Plugin Name: Perfect WooCommerce Brands
|
4 |
* Plugin URI: https://wordpress.org/plugins/perfect-woocommerce-brands/
|
5 |
* Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
6 |
+
* Version: 1.7.5
|
7 |
* Author: Alberto de Vera Sevilla
|
8 |
* Author URI: https://profiles.wordpress.org/titodevera/
|
9 |
* Text Domain: perfect-woocommerce-brands
|
10 |
* Domain Path: /lang
|
11 |
* License: GPL3
|
12 |
+
* Perfect WooCommerce Brands version 1.7.5, Copyright (C) 2019 Alberto de Vera Sevilla
|
13 |
* Perfect WooCommerce Brands is free software: you can redistribute it and/or modify
|
14 |
* it under the terms of the GNU General Public License as published by
|
15 |
* the Free Software Foundation, either version 3 of the License, or
|
34 |
define( 'PWB_PLUGIN', plugins_url( '', __FILE__ ) );
|
35 |
define( 'PWB_PLUGIN_PATH', plugin_basename( dirname( __FILE__ ) ) );
|
36 |
define( 'PWB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
37 |
+
define( 'PWB_PLUGIN_VERSION', '1.7.5' );
|
38 |
define( 'PWB_WP_VERSION', get_bloginfo( 'version' ) );
|
39 |
define( 'PWB_WC_VERSION', get_option( 'woocommerce_version' ) );
|
40 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: woocommerce, brands, brand taxonomy, product brands, woocommerce manufactu
|
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.7.
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
11 |
|
@@ -81,6 +81,8 @@ You can also contribute [translating the plugin](https://translate.wordpress.org
|
|
81 |
|
82 |
|
83 |
== Changelog ==
|
|
|
|
|
84 |
= 1.7.4 =
|
85 |
* Fix: Mismatched columns when a brand is added
|
86 |
* Tweak: Disable brand tab when product not have brand
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.7.5
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
11 |
|
81 |
|
82 |
|
83 |
== Changelog ==
|
84 |
+
= 1.7.5 =
|
85 |
+
* Fix: Stupid JS error introduced in the previous version
|
86 |
= 1.7.4 =
|
87 |
* Fix: Mismatched columns when a brand is added
|
88 |
* Tweak: Disable brand tab when product not have brand
|