Addons for Elementor - Version 2.7.3

Version Description

  • Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid.
  • Fixed - Some taxonomies and/or their terms missing from taxonomy terms selection in query builder of Posts Grid and Posts Carousel.
  • Fixed - Not able to sort the filters of the Posts Grid with taxonomy reordering plugins.
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Addons for Elementor
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2 to 2.7.3

addons-for-elementor.php CHANGED
@@ -8,7 +8,7 @@
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
- * Version: 2.7.2
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
  *
@@ -35,7 +35,7 @@ if ( !defined( 'ABSPATH' ) ) {
35
 
36
  if ( !function_exists( 'lae_fs' ) ) {
37
  // Plugin version
38
- define( 'LAE_VERSION', '2.7.2' );
39
  // Plugin Root File
40
  define( 'LAE_PLUGIN_FILE', __FILE__ );
41
  // Plugin Folder Path
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
+ * Version: 2.7.3
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
  *
35
 
36
  if ( !function_exists( 'lae_fs' ) ) {
37
  // Plugin version
38
+ define( 'LAE_VERSION', '2.7.3' );
39
  // Plugin Root File
40
  define( 'LAE_PLUGIN_FILE', __FILE__ );
41
  // Plugin Folder Path
admin/views/documentation.php CHANGED
@@ -1164,6 +1164,15 @@ else {
1164
  <div id="updates-panel" class="panel-left">
1165
 
1166
  <h2>Change Log for the Premium Version</h2>
 
 
 
 
 
 
 
 
 
1167
  <h3>2.7.2</h3>
1168
  <ul>
1169
  <li>Fixed - Some sites reporting error - call to undefined function get_blog_list().</li>
1164
  <div id="updates-panel" class="panel-left">
1165
 
1166
  <h2>Change Log for the Premium Version</h2>
1167
+
1168
+ <h3>2.7.3</h3>
1169
+ <ul>
1170
+ <li>Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid/Posts Block.</li>
1171
+ <li>Fixed - Some taxonomies and/or their terms missing from taxonomy terms selection in query builder of Posts Grid, Posts Block and Posts Carousel.</li>
1172
+ <li>Fixed - The order of the taxonomy terms in the taxonomy terms selection in query builder not same as order specified in taxonomy reordering plugins.</li>
1173
+ <li>Fixed - Not able to sort the filters of the Posts Grid/Posts Block instances with taxonomy reordering plugins.</li>
1174
+ <li>Fixed - Cannot display taxonomy terms for the post in block styles 7,8 and 9 of Posts Block.</li>
1175
+ </ul>
1176
  <h3>2.7.2</h3>
1177
  <ul>
1178
  <li>Fixed - Some sites reporting error - call to undefined function get_blog_list().</li>
includes/helper-functions.php CHANGED
@@ -123,13 +123,26 @@ function lae_get_info_for_taxonomies( $taxonomies )
123
  function lae_get_taxonomies_map()
124
  {
125
  $map = array();
126
- $taxonomies = get_taxonomies();
127
  foreach ( $taxonomies as $taxonomy ) {
128
  $map[$taxonomy] = $taxonomy;
129
  }
130
  return apply_filters( 'lae_taxonomies_map', $map );
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  function lae_entry_published( $format = null )
134
  {
135
  if ( empty($format) ) {
123
  function lae_get_taxonomies_map()
124
  {
125
  $map = array();
126
+ $taxonomies = lae_get_all_taxonomies();
127
  foreach ( $taxonomies as $taxonomy ) {
128
  $map[$taxonomy] = $taxonomy;
129
  }
130
  return apply_filters( 'lae_taxonomies_map', $map );
131
  }
132
 
133
+ function lae_get_all_taxonomies()
134
+ {
135
+ $taxonomies = get_taxonomies( array(
136
+ 'public' => true,
137
+ '_builtin' => false,
138
+ ) );
139
+ $taxonomies = array_merge( array(
140
+ 'category' => 'category',
141
+ 'post_tag' => 'post_tag',
142
+ ), $taxonomies );
143
+ return $taxonomies;
144
+ }
145
+
146
  function lae_entry_published( $format = null )
147
  {
148
  if ( empty($format) ) {
includes/query-functions.php CHANGED
@@ -18,19 +18,13 @@ function lae_get_all_post_type_options() {
18
  */
19
  function lae_get_all_taxonomy_options() {
20
 
21
- global $wpdb;
22
 
23
  $results = array();
24
-
25
- $limit = apply_filters('lae_taxonomy_terms_dropdown_limit', 500);
26
-
27
- foreach ($wpdb->get_results("
28
- SELECT terms.slug AS 'slug', terms.name AS 'label', termtaxonomy.taxonomy AS 'type'
29
- FROM $wpdb->terms AS terms
30
- JOIN $wpdb->term_taxonomy AS termtaxonomy ON terms.term_id = termtaxonomy.term_id
31
- LIMIT $limit
32
- ") as $result) {
33
- $results[$result->type . ':' . $result->slug] = $result->type . ':' . $result->label;
34
  }
35
 
36
  return apply_filters('lae_taxonomy_options', $results);
18
  */
19
  function lae_get_all_taxonomy_options() {
20
 
21
+ $taxonomies = lae_get_all_taxonomies();
22
 
23
  $results = array();
24
+ foreach ($taxonomies as $taxonomy) {
25
+ $terms = get_terms(array('taxonomy' => $taxonomy));
26
+ foreach ($terms as $term)
27
+ $results[$term->taxonomy . ':' . $term->slug] = $term->taxonomy . ':' . $term->name;
 
 
 
 
 
 
28
  }
29
 
30
  return apply_filters('lae_taxonomy_options', $results);
plugin.php CHANGED
@@ -45,7 +45,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-el-addons' ), '2.7.2' );
49
  }
50
 
51
  /**
@@ -55,7 +55,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-el-addons' ), '2.7.2' );
59
  }
60
 
61
  private function setup_debug_constants()
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-el-addons' ), '2.7.3' );
49
  }
50
 
51
  /**
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-el-addons' ), '2.7.3' );
59
  }
60
 
61
  private function setup_debug_constants()
readme.txt CHANGED
@@ -5,7 +5,7 @@ Contributors: livemesh, freemius
5
  Tags: elementor, elementor addons, elementor extensions, elementor modules, page builder, portfolio, carousel, posts grid
6
  Requires at least: 4.5
7
  Tested up to: 5.2
8
- Stable Tag: 2.7.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -106,6 +106,11 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
106
 
107
  == Changelog ==
108
 
 
 
 
 
 
109
  = 2.7.2 =
110
  * Fixed - Some sites reporting error - call to undefined function get_blog_list().
111
  * Updated - Freemius to 2.3.0.
5
  Tags: elementor, elementor addons, elementor extensions, elementor modules, page builder, portfolio, carousel, posts grid
6
  Requires at least: 4.5
7
  Tested up to: 5.2
8
+ Stable Tag: 2.7.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
106
 
107
  == Changelog ==
108
 
109
+ = 2.7.3 =
110
+ * Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid.
111
+ * Fixed - Some taxonomies and/or their terms missing from taxonomy terms selection in query builder of Posts Grid and Posts Carousel.
112
+ * Fixed - Not able to sort the filters of the Posts Grid with taxonomy reordering plugins.
113
+
114
  = 2.7.2 =
115
  * Fixed - Some sites reporting error - call to undefined function get_blog_list().
116
  * Updated - Freemius to 2.3.0.