Version Description
- Fixed - The Posts Grid taxonomy filter does not limit itself to the categories chosen in the Posts Query
Download this release
Release Info
Developer | livemesh |
Plugin | Addons for WPBakery Page Builder |
Version | 2.9 |
Comparing to | |
See all releases |
Code changes from version 2.8 to 2.9
- addons-for-visual-composer.php +2 -2
- includes/helper-functions.php +2 -2
- plugin.php +2 -2
- readme.txt +4 -1
addons-for-visual-composer.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Author URI: https://www.livemeshthemes.com/
|
9 |
* License: GPL3
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
11 |
-
* Version: 2.
|
12 |
* Text Domain: livemesh-vc-addons
|
13 |
* Domain Path: languages
|
14 |
*
|
@@ -36,7 +36,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
36 |
|
37 |
if ( !function_exists( 'lvca_fs' ) ) {
|
38 |
// Plugin version
|
39 |
-
define( 'LVCA_VERSION', '2.
|
40 |
// Plugin Root File
|
41 |
define( 'LVCA_PLUGIN_FILE', __FILE__ );
|
42 |
// Plugin Folder Path
|
8 |
* Author URI: https://www.livemeshthemes.com/
|
9 |
* License: GPL3
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
11 |
+
* Version: 2.9
|
12 |
* Text Domain: livemesh-vc-addons
|
13 |
* Domain Path: languages
|
14 |
*
|
36 |
|
37 |
if ( !function_exists( 'lvca_fs' ) ) {
|
38 |
// Plugin version
|
39 |
+
define( 'LVCA_VERSION', '2.9' );
|
40 |
// Plugin Root File
|
41 |
define( 'LVCA_PLUGIN_FILE', __FILE__ );
|
42 |
// Plugin Folder Path
|
includes/helper-functions.php
CHANGED
@@ -56,9 +56,9 @@ function lvca_get_chosen_terms( $query_args )
|
|
56 |
$taxonomies = array();
|
57 |
if ( !empty($query_args) ) {
|
58 |
|
59 |
-
if ( !empty($query_args['
|
60 |
$taxonomies[] = 'category';
|
61 |
-
$term_ids =
|
62 |
foreach ( $term_ids as $term_id ) {
|
63 |
$chosen_terms[] = get_term( $term_id, 'category' );
|
64 |
}
|
56 |
$taxonomies = array();
|
57 |
if ( !empty($query_args) ) {
|
58 |
|
59 |
+
if ( !empty($query_args['category__in']) ) {
|
60 |
$taxonomies[] = 'category';
|
61 |
+
$term_ids = $query_args['category__in'];
|
62 |
foreach ( $term_ids as $term_id ) {
|
63 |
$chosen_terms[] = get_term( $term_id, 'category' );
|
64 |
}
|
plugin.php
CHANGED
@@ -43,7 +43,7 @@ if ( !class_exists( 'Livemesh_VC_Addons' ) ) {
|
|
43 |
public function __clone()
|
44 |
{
|
45 |
// Cloning instances of the class is forbidden
|
46 |
-
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-vc-addons' ), '2.
|
47 |
}
|
48 |
|
49 |
/**
|
@@ -53,7 +53,7 @@ if ( !class_exists( 'Livemesh_VC_Addons' ) ) {
|
|
53 |
public function __wakeup()
|
54 |
{
|
55 |
// Unserializing instances of the class is forbidden
|
56 |
-
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-vc-addons' ), '2.
|
57 |
}
|
58 |
|
59 |
private function setup_debug_constants()
|
43 |
public function __clone()
|
44 |
{
|
45 |
// Cloning instances of the class is forbidden
|
46 |
+
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-vc-addons' ), '2.9' );
|
47 |
}
|
48 |
|
49 |
/**
|
53 |
public function __wakeup()
|
54 |
{
|
55 |
// Unserializing instances of the class is forbidden
|
56 |
+
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-vc-addons' ), '2.9' );
|
57 |
}
|
58 |
|
59 |
private function setup_debug_constants()
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Contributors: livemesh, freemius
|
|
5 |
Tags: wpbakery page builder, wpbakery page builder addons, wpbakery, wpbakery page builder extensions, wpbakery addons, page builder, portfolio, carousel, post, posts, shortcodes, tabs, plugin, page
|
6 |
Requires at least: 5.0
|
7 |
Tested up to: 5.8
|
8 |
-
Stable Tag: 2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html-func
|
11 |
|
@@ -114,6 +114,9 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
|
|
114 |
|
115 |
|
116 |
|
|
|
|
|
|
|
117 |
= 2.8 =
|
118 |
* Fixed - Deprecated warnings raised on PHP 8.
|
119 |
* Added - Compatibility with PHP 8.
|
5 |
Tags: wpbakery page builder, wpbakery page builder addons, wpbakery, wpbakery page builder extensions, wpbakery addons, page builder, portfolio, carousel, post, posts, shortcodes, tabs, plugin, page
|
6 |
Requires at least: 5.0
|
7 |
Tested up to: 5.8
|
8 |
+
Stable Tag: 2.9
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html-func
|
11 |
|
114 |
|
115 |
|
116 |
|
117 |
+
= 2.9 =
|
118 |
+
* Fixed - The Posts Grid taxonomy filter does not limit itself to the categories chosen in the Posts Query
|
119 |
+
|
120 |
= 2.8 =
|
121 |
* Fixed - Deprecated warnings raised on PHP 8.
|
122 |
* Added - Compatibility with PHP 8.
|