Version Description
Download this release
Release Info
Developer | quadlayers |
Plugin | Perfect Brands for WooCommerce |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.4
classes/class-perfect-woocommerce-brands.php
CHANGED
@@ -43,7 +43,7 @@ class Perfect_Woocommerce_Brands {
|
|
43 |
add_filter( 'manage_edit-product_sortable_columns', array( $this, 'brands_column_sortable' ), 90 );
|
44 |
add_action( 'posts_clauses', array( $this, 'brands_column_sortable_posts' ), 10, 2 );
|
45 |
add_filter( 'post_type_link', array( $this, 'brand_name_in_url' ), 10, 2 );
|
46 |
-
add_action( 'pre_get_posts', array( $this, 'search_by_brand_name' ) );
|
47 |
|
48 |
// clean caches
|
49 |
add_action( 'edited_terms', array( $this, 'clean_caches' ), 10, 2 );
|
43 |
add_filter( 'manage_edit-product_sortable_columns', array( $this, 'brands_column_sortable' ), 90 );
|
44 |
add_action( 'posts_clauses', array( $this, 'brands_column_sortable_posts' ), 10, 2 );
|
45 |
add_filter( 'post_type_link', array( $this, 'brand_name_in_url' ), 10, 2 );
|
46 |
+
// add_action( 'pre_get_posts', array( $this, 'search_by_brand_name' ) );
|
47 |
|
48 |
// clean caches
|
49 |
add_action( 'edited_terms', array( $this, 'clean_caches' ), 10, 2 );
|
includes/quadlayers/widget.php
CHANGED
@@ -31,7 +31,7 @@ if ( ! class_exists( 'QL_Widget' ) ) {
|
|
31 |
<?php esc_html_e( 'Hi! We are Quadlayers! Welcome to QuadLayers! We’re a team of international people who have been working in the WordPress sphere for the last ten years.', 'perfect-woocommerce-brands' ); ?>
|
32 |
<div style="margin-top: 11px; float: left; width: 70%;"><a href="<?php echo admin_url( 'admin.php?page=' . PWB_PREFIX . '_suggestions' ); ?>" target="_blank" class="button button-secondary"><?php esc_html_e( 'More products', 'perfect-woocommerce-brands' ); ?></a></div>
|
33 |
</div>
|
34 |
-
<img style="width: 30%;margin-top: 11px;float: right; max-width: 95px;" src="<?php echo plugins_url( '/assets/
|
35 |
</div>
|
36 |
<div style="clear: both;"></div>
|
37 |
</div>
|
31 |
<?php esc_html_e( 'Hi! We are Quadlayers! Welcome to QuadLayers! We’re a team of international people who have been working in the WordPress sphere for the last ten years.', 'perfect-woocommerce-brands' ); ?>
|
32 |
<div style="margin-top: 11px; float: left; width: 70%;"><a href="<?php echo admin_url( 'admin.php?page=' . PWB_PREFIX . '_suggestions' ); ?>" target="_blank" class="button button-secondary"><?php esc_html_e( 'More products', 'perfect-woocommerce-brands' ); ?></a></div>
|
33 |
</div>
|
34 |
+
<img style="width: 30%;margin-top: 11px;float: right; max-width: 95px;" src="<?php echo plugins_url( '/assets/img/quadlayers.jpg', PWB_PLUGIN_FILE ); ?>" />
|
35 |
</div>
|
36 |
<div style="clear: both;"></div>
|
37 |
</div>
|
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.
|
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.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' );
|
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
|
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' );
|
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.1.
|
9 |
WC requires at least: 3.0
|
10 |
WC tested up to: 6.6.1
|
11 |
License: GPLv3
|
@@ -90,6 +90,10 @@ You can also contribute [translating the plugin](https://translate.wordpress.org
|
|
90 |
|
91 |
|
92 |
== Changelog ==
|
|
|
|
|
|
|
|
|
93 |
= 2.1.2=
|
94 |
* Fix: QuadLayers widget cache
|
95 |
= 2.1.1 =
|
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
|
90 |
|
91 |
|
92 |
== Changelog ==
|
93 |
+
= 2.1.4=
|
94 |
+
* Fix: QuadLayers widget image
|
95 |
+
= 2.1.3 =
|
96 |
+
* Fix: Disable search brands in products
|
97 |
= 2.1.2=
|
98 |
* Fix: QuadLayers widget cache
|
99 |
= 2.1.1 =
|