Version Description
- Fixed: E_PARSE PHP warning
- Fixed: Deprecated warning shown in PHP 8
Download this release
Release Info
Developer | bfintal |
Plugin | Stackable – Page Builder Gutenberg Blocks |
Version | 2.15.1 |
Comparing to | |
See all releases |
Code changes from version 2.15.0 to 2.15.1
- plugin.php +2 -2
- readme.txt +5 -1
- src/design-library/init.php +1 -1
plugin.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Author: Gambit Technologies, Inc
|
8 |
* Author URI: http://gambit.ph
|
9 |
* Text Domain: stackable-ultimate-gutenberg-blocks
|
10 |
-
* Version: 2.15.
|
11 |
*
|
12 |
* @package Stackable
|
13 |
*/
|
@@ -23,7 +23,7 @@ if ( function_exists( 'sugb_fs' ) ) {
|
|
23 |
}
|
24 |
|
25 |
defined( 'STACKABLE_SHOW_PRO_NOTICES' ) || define( 'STACKABLE_SHOW_PRO_NOTICES', true );
|
26 |
-
defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '2.15.
|
27 |
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
|
28 |
defined( 'STACKABLE_I18N' ) || define( 'STACKABLE_I18N', 'stackable-ultimate-gutenberg-blocks' );
|
29 |
// Plugin slug.
|
7 |
* Author: Gambit Technologies, Inc
|
8 |
* Author URI: http://gambit.ph
|
9 |
* Text Domain: stackable-ultimate-gutenberg-blocks
|
10 |
+
* Version: 2.15.1
|
11 |
*
|
12 |
* @package Stackable
|
13 |
*/
|
23 |
}
|
24 |
|
25 |
defined( 'STACKABLE_SHOW_PRO_NOTICES' ) || define( 'STACKABLE_SHOW_PRO_NOTICES', true );
|
26 |
+
defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '2.15.1' );
|
27 |
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
|
28 |
defined( 'STACKABLE_I18N' ) || define( 'STACKABLE_I18N', 'stackable-ultimate-gutenberg-blocks' );
|
29 |
// Plugin slug.
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: blocks, gutenberg, gutenberg blocks, page builder, WordPress blocks
|
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 5.7.1
|
6 |
Requires PHP: 5.3
|
7 |
-
Stable tag: 2.15.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -201,6 +201,10 @@ Nope. Stackable only works with Gutenberg, the new WordPress editor.
|
|
201 |
|
202 |
== Changelog ==
|
203 |
|
|
|
|
|
|
|
|
|
204 |
= 2.15.0 =
|
205 |
[Introducing Dynamic Content](https://wpstackable.com/blog/introducing-dynamic-content/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
|
206 |
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 5.7.1
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 2.15.1
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
201 |
|
202 |
== Changelog ==
|
203 |
|
204 |
+
= 2.15.1 =
|
205 |
+
* Fixed: E_PARSE PHP warning
|
206 |
+
* Fixed: Deprecated warning shown in PHP 8
|
207 |
+
|
208 |
= 2.15.0 =
|
209 |
[Introducing Dynamic Content](https://wpstackable.com/blog/introducing-dynamic-content/?utm_source=wp-repo&utm_campaign=readme&utm_medium=link)
|
210 |
|
src/design-library/init.php
CHANGED
@@ -25,7 +25,7 @@ if ( ! class_exists( 'Stackable_Design_Library' ) ) {
|
|
25 |
add_filter( 'stackable_design_library_retreive_body', array( $this, 'replace_dev_mode_urls' ) );
|
26 |
}
|
27 |
|
28 |
-
public static function validate_string( $value
|
29 |
if ( ! is_string( $value ) ) {
|
30 |
return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a string.', STACKABLE_I18N ), $param ) );
|
31 |
}
|
25 |
add_filter( 'stackable_design_library_retreive_body', array( $this, 'replace_dev_mode_urls' ) );
|
26 |
}
|
27 |
|
28 |
+
public static function validate_string( $value, $request, $param ) {
|
29 |
if ( ! is_string( $value ) ) {
|
30 |
return new WP_Error( 'invalid_param', sprintf( esc_html__( '%s must be a string.', STACKABLE_I18N ), $param ) );
|
31 |
}
|