Version Description
- Updated - Freemius SDK 2.4.4
- Updated - Compatibility with WP 6.0.
Download this release
Release Info
Developer | livemesh |
Plugin | Livemesh SiteOrigin Widgets |
Version | 2.8.4 |
Comparing to | |
See all releases |
Code changes from version 2.8.3 to 2.8.4
- freemius/includes/class-freemius.php +1 -1
- freemius/includes/managers/class-fs-key-value-storage.php +10 -0
- freemius/start.php +1 -1
- livemesh-siteorigin-widgets.php +2 -2
- plugin.php +2 -2
- readme.txt +4 -2
freemius/includes/class-freemius.php
CHANGED
@@ -4058,7 +4058,7 @@
|
|
4058 |
if ( empty( $unique_id ) || ! is_string( $unique_id ) ) {
|
4059 |
$key = fs_strip_url_protocol( get_site_url( $blog_id ) );
|
4060 |
|
4061 |
-
$secure_auth = SECURE_AUTH_KEY;
|
4062 |
if ( empty( $secure_auth ) ||
|
4063 |
false !== strpos( $secure_auth, ' ' ) ||
|
4064 |
'put your unique phrase here' === $secure_auth
|
4058 |
if ( empty( $unique_id ) || ! is_string( $unique_id ) ) {
|
4059 |
$key = fs_strip_url_protocol( get_site_url( $blog_id ) );
|
4060 |
|
4061 |
+
$secure_auth = defined( 'SECURE_AUTH_KEY' ) ? SECURE_AUTH_KEY : '';
|
4062 |
if ( empty( $secure_auth ) ||
|
4063 |
false !== strpos( $secure_auth, ' ' ) ||
|
4064 |
'put your unique phrase here' === $secure_auth
|
freemius/includes/managers/class-fs-key-value-storage.php
CHANGED
@@ -298,6 +298,7 @@
|
|
298 |
return $this->get( $k, null );
|
299 |
}
|
300 |
|
|
|
301 |
function offsetSet( $k, $v ) {
|
302 |
if ( is_null( $k ) ) {
|
303 |
throw new Exception( 'Can\'t append value to request params.' );
|
@@ -306,14 +307,17 @@
|
|
306 |
}
|
307 |
}
|
308 |
|
|
|
309 |
function offsetExists( $k ) {
|
310 |
return array_key_exists( $k, $this->_data );
|
311 |
}
|
312 |
|
|
|
313 |
function offsetUnset( $k ) {
|
314 |
unset( $this->$k );
|
315 |
}
|
316 |
|
|
|
317 |
function offsetGet( $k ) {
|
318 |
return $this->get( $k, null );
|
319 |
}
|
@@ -325,6 +329,7 @@
|
|
325 |
* @link http://php.net/manual/en/iterator.current.php
|
326 |
* @return mixed Can return any type.
|
327 |
*/
|
|
|
328 |
public function current() {
|
329 |
return current( $this->_data );
|
330 |
}
|
@@ -336,6 +341,7 @@
|
|
336 |
* @link http://php.net/manual/en/iterator.next.php
|
337 |
* @return void Any returned value is ignored.
|
338 |
*/
|
|
|
339 |
public function next() {
|
340 |
next( $this->_data );
|
341 |
}
|
@@ -347,6 +353,7 @@
|
|
347 |
* @link http://php.net/manual/en/iterator.key.php
|
348 |
* @return mixed scalar on success, or null on failure.
|
349 |
*/
|
|
|
350 |
public function key() {
|
351 |
return key( $this->_data );
|
352 |
}
|
@@ -359,6 +366,7 @@
|
|
359 |
* @return boolean The return value will be casted to boolean and then evaluated.
|
360 |
* Returns true on success or false on failure.
|
361 |
*/
|
|
|
362 |
public function valid() {
|
363 |
$key = key( $this->_data );
|
364 |
|
@@ -372,6 +380,7 @@
|
|
372 |
* @link http://php.net/manual/en/iterator.rewind.php
|
373 |
* @return void Any returned value is ignored.
|
374 |
*/
|
|
|
375 |
public function rewind() {
|
376 |
reset( $this->_data );
|
377 |
}
|
@@ -386,6 +395,7 @@
|
|
386 |
* <p>
|
387 |
* The return value is cast to an integer.
|
388 |
*/
|
|
|
389 |
public function count() {
|
390 |
return count( $this->_data );
|
391 |
}
|
298 |
return $this->get( $k, null );
|
299 |
}
|
300 |
|
301 |
+
#[ReturnTypeWillChange]
|
302 |
function offsetSet( $k, $v ) {
|
303 |
if ( is_null( $k ) ) {
|
304 |
throw new Exception( 'Can\'t append value to request params.' );
|
307 |
}
|
308 |
}
|
309 |
|
310 |
+
#[ReturnTypeWillChange]
|
311 |
function offsetExists( $k ) {
|
312 |
return array_key_exists( $k, $this->_data );
|
313 |
}
|
314 |
|
315 |
+
#[ReturnTypeWillChange]
|
316 |
function offsetUnset( $k ) {
|
317 |
unset( $this->$k );
|
318 |
}
|
319 |
|
320 |
+
#[ReturnTypeWillChange]
|
321 |
function offsetGet( $k ) {
|
322 |
return $this->get( $k, null );
|
323 |
}
|
329 |
* @link http://php.net/manual/en/iterator.current.php
|
330 |
* @return mixed Can return any type.
|
331 |
*/
|
332 |
+
#[ReturnTypeWillChange]
|
333 |
public function current() {
|
334 |
return current( $this->_data );
|
335 |
}
|
341 |
* @link http://php.net/manual/en/iterator.next.php
|
342 |
* @return void Any returned value is ignored.
|
343 |
*/
|
344 |
+
#[ReturnTypeWillChange]
|
345 |
public function next() {
|
346 |
next( $this->_data );
|
347 |
}
|
353 |
* @link http://php.net/manual/en/iterator.key.php
|
354 |
* @return mixed scalar on success, or null on failure.
|
355 |
*/
|
356 |
+
#[ReturnTypeWillChange]
|
357 |
public function key() {
|
358 |
return key( $this->_data );
|
359 |
}
|
366 |
* @return boolean The return value will be casted to boolean and then evaluated.
|
367 |
* Returns true on success or false on failure.
|
368 |
*/
|
369 |
+
#[ReturnTypeWillChange]
|
370 |
public function valid() {
|
371 |
$key = key( $this->_data );
|
372 |
|
380 |
* @link http://php.net/manual/en/iterator.rewind.php
|
381 |
* @return void Any returned value is ignored.
|
382 |
*/
|
383 |
+
#[ReturnTypeWillChange]
|
384 |
public function rewind() {
|
385 |
reset( $this->_data );
|
386 |
}
|
395 |
* <p>
|
396 |
* The return value is cast to an integer.
|
397 |
*/
|
398 |
+
#[ReturnTypeWillChange]
|
399 |
public function count() {
|
400 |
return count( $this->_data );
|
401 |
}
|
freemius/start.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
$this_sdk_version = '2.4.
|
19 |
|
20 |
#region SDK Selection Logic --------------------------------------------------------------------
|
21 |
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
$this_sdk_version = '2.4.4';
|
19 |
|
20 |
#region SDK Selection Logic --------------------------------------------------------------------
|
21 |
|
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.8.
|
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.8.
|
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.8.4
|
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.8.4' );
|
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’ huh?', 'livemesh-so-widgets' ), '2.8.
|
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’ huh?', 'livemesh-so-widgets' ), '2.8.
|
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-so-widgets' ), '2.8.4' );
|
47 |
}
|
48 |
|
49 |
/**
|
53 |
public function __wakeup()
|
54 |
{
|
55 |
// Unserializing instances of the class is forbidden
|
56 |
+
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-so-widgets' ), '2.8.4' );
|
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: 6.0
|
8 |
-
Stable Tag: 2.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -122,7 +122,9 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
|
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
-
|
|
|
|
|
126 |
|
127 |
= 2.8.3 =
|
128 |
* Updated - Freemius SDK 2.4.3 security update
|
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: 6.0
|
8 |
+
Stable Tag: 2.8.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 2.8.4 =
|
126 |
+
* Updated - Freemius SDK 2.4.4
|
127 |
+
* Updated - Compatibility with WP 6.0.
|
128 |
|
129 |
= 2.8.3 =
|
130 |
* Updated - Freemius SDK 2.4.3 security update
|