Livemesh SiteOrigin Widgets - Version 2.5.7

Version Description

  • Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid.
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Livemesh SiteOrigin Widgets
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

admin/views/documentation.php CHANGED
@@ -1322,6 +1322,11 @@ else {
1322
 
1323
  <h2>Change Log for the Premium Version</h2>
1324
  <br>
 
 
 
 
 
1325
  <h3>2.5.6</h3>
1326
  <ul>
1327
  <li>Fixed - Some sites reporting error - call to undefined function get_blog_list().</li>
1322
 
1323
  <h2>Change Log for the Premium Version</h2>
1324
  <br>
1325
+ <h3>2.5.7</h3>
1326
+ <ul>
1327
+ <li>Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid/Posts Block.</li>
1328
+ <li>Fixed - Cannot display taxonomy terms for the post in block styles 7,8 and 9 of Posts Block.</li>
1329
+ </ul>
1330
  <h3>2.5.6</h3>
1331
  <ul>
1332
  <li>Fixed - Some sites reporting error - call to undefined function get_blog_list().</li>
freemius/assets/js/nojquery.ba-postmessage.min.min.js DELETED
@@ -1 +0,0 @@
1
- function NoJQueryPostMessageMixin(g,a){var b,h,e,d,f,c=1;if(window.postMessage){if(window.addEventListener){b=function(i){window.addEventListener("message",i,false)};h=function(i){window.removeEventListener("message",i,false)}}else{b=function(i){window.attachEvent("onmessage",i)};h=function(i){window.detachEvent("onmessage",i)}}this[g]=function(i,k,j){if(!k){return}j.postMessage(i,k.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))};this[a]=function(k,j,i){if(e){h(e);e=null}if(!k){return false}e=b(function(l){switch(Object.prototype.toString.call(j)){case"[object String]":if(j!==l.origin){return false}break;case"[object Function]":if(j(l.origin)){return false}break}k(l)})}}else{this[g]=function(i,k,j){if(!k){return}j.location=k.replace(/#.*$/,"")+"#"+ +new Date+c+++"&"+i};this[a]=function(k,j,i){if(d){clearInterval(d);d=null}if(k){i=typeof j==="number"?j:typeof i==="number"?i:100;d=setInterval(function(){var m=document.location.hash,l=/^#?\d+&/;if(m!==f&&l.test(m)){f=m;k({data:m.replace(l,"")})}},i)}}}return this}
 
includes/helper-functions.php CHANGED
@@ -122,13 +122,26 @@ function lsow_get_info_for_taxonomies( $taxonomies )
122
  function lsow_get_taxonomies_map()
123
  {
124
  $map = array();
125
- $taxonomies = get_taxonomies();
126
  foreach ( $taxonomies as $taxonomy ) {
127
  $map[$taxonomy] = $taxonomy;
128
  }
129
  return apply_filters( 'lsow_taxonomies_map', $map );
130
  }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  function lsow_entry_published( $format = null )
133
  {
134
  if ( empty($format) ) {
122
  function lsow_get_taxonomies_map()
123
  {
124
  $map = array();
125
+ $taxonomies = lsow_get_all_taxonomies();
126
  foreach ( $taxonomies as $taxonomy ) {
127
  $map[$taxonomy] = $taxonomy;
128
  }
129
  return apply_filters( 'lsow_taxonomies_map', $map );
130
  }
131
 
132
+ function lsow_get_all_taxonomies()
133
+ {
134
+ $taxonomies = get_taxonomies( array(
135
+ 'public' => true,
136
+ '_builtin' => false,
137
+ ) );
138
+ $taxonomies = array_merge( array(
139
+ 'category' => 'category',
140
+ 'post_tag' => 'post_tag',
141
+ ), $taxonomies );
142
+ return $taxonomies;
143
+ }
144
+
145
  function lsow_entry_published( $format = null )
146
  {
147
  if ( empty($format) ) {
livemesh-siteorigin-widgets.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.5.6
12
  * Text Domain: livemesh-so-widgets
13
  * Domain Path: languages
14
  *
@@ -34,7 +34,7 @@ if ( !defined( 'ABSPATH' ) ) {
34
  // Ensure the free version is deactivated if premium is running
35
 
36
  if ( !function_exists( 'lsow_fs' ) ) {
37
- define( 'LSOW_VERSION', '2.5.6' );
38
  // Plugin Folder Path
39
  define( 'LSOW_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
40
  // Plugin Folder URL
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.5.7
12
  * Text Domain: livemesh-so-widgets
13
  * Domain Path: languages
14
  *
34
  // Ensure the free version is deactivated if premium is running
35
 
36
  if ( !function_exists( 'lsow_fs' ) ) {
37
+ define( 'LSOW_VERSION', '2.5.7' );
38
  // Plugin Folder Path
39
  define( 'LSOW_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
40
  // Plugin Folder URL
plugin.php CHANGED
@@ -43,7 +43,7 @@ if ( !class_exists( 'Livemesh_SiteOrigin_Widgets' ) ) {
43
  public function __clone()
44
  {
45
  // Cloning instances of the class is forbidden
46
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-so-widgets' ), '2.5.6' );
47
  }
48
 
49
  /**
@@ -53,7 +53,7 @@ if ( !class_exists( 'Livemesh_SiteOrigin_Widgets' ) ) {
53
  public function __wakeup()
54
  {
55
  // Unserializing instances of the class is forbidden
56
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-so-widgets' ), '2.5.6' );
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&#8217; huh?', 'livemesh-so-widgets' ), '2.5.7' );
47
  }
48
 
49
  /**
53
  public function __wakeup()
54
  {
55
  // Unserializing instances of the class is forbidden
56
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin&#8217; huh?', 'livemesh-so-widgets' ), '2.5.7' );
57
  }
58
 
59
  private function setup_debug_constants()
readme.txt CHANGED
@@ -5,7 +5,7 @@ Contributors: livemesh, freemius
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin widgets, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.5
7
  Tested up to: 5.2
8
- Stable Tag: 2.5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -122,6 +122,9 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
122
 
123
  == Changelog ==
124
 
 
 
 
125
  = 2.5.6 =
126
  * Fixed - Some sites reporting error - call to undefined function get_blog_list().
127
  * Updated - Freemius to 2.3.0.
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin widgets, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.5
7
  Tested up to: 5.2
8
+ Stable Tag: 2.5.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
122
 
123
  == Changelog ==
124
 
125
+ = 2.5.7 =
126
+ * Fixed - The taxonomy chosen dropdown displaying superfluous taxonomies in the dropdown for Posts Grid.
127
+
128
  = 2.5.6 =
129
  * Fixed - Some sites reporting error - call to undefined function get_blog_list().
130
  * Updated - Freemius to 2.3.0.