Version Description
Visit the Github release page.
Download this release
Release Info
Developer | nikeo |
Plugin | Nimble Page Builder |
Version | 3.3.1 |
Comparing to | |
See all releases |
Code changes from version 3.2.9 to 3.3.1
- inc/functions.php +5 -0
- inc/sektions/ccat-sektions-base.php +1 -1
- nimble-builder.php +2 -2
- readme.txt +2 -2
- tmpl/modules/simple_html_module_tmpl.php +2 -0
inc/functions.php
CHANGED
@@ -27,4 +27,9 @@ function nimble_get_content_as_json() {
|
|
27 |
'global_sections' => $global_sections
|
28 |
]);
|
29 |
return wp_json_encode( $raw_content );
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
27 |
'global_sections' => $global_sections
|
28 |
]);
|
29 |
return wp_json_encode( $raw_content );
|
30 |
+
}
|
31 |
+
|
32 |
+
function nimble_allow_display_attribute( $styles ){
|
33 |
+
$styles[] = 'display';
|
34 |
+
return $styles;
|
35 |
}
|
inc/sektions/ccat-sektions-base.php
CHANGED
@@ -5664,7 +5664,7 @@ class Sek_Simple_Form extends SEK_Front_Render_Css {
|
|
5664 |
// Make sure we target the right form if several forms are displayed in a page
|
5665 |
$current_form_has_been_submitted = isset( $_POST['nimble_level_id'] ) && sanitize_text_field($_POST['nimble_level_id']) === $module_id;
|
5666 |
|
5667 |
-
if (
|
5668 |
$echo_form = false;
|
5669 |
}
|
5670 |
}
|
5664 |
// Make sure we target the right form if several forms are displayed in a page
|
5665 |
$current_form_has_been_submitted = isset( $_POST['nimble_level_id'] ) && sanitize_text_field($_POST['nimble_level_id']) === $module_id;
|
5666 |
|
5667 |
+
if ( in_array( $this->mailer->get_status(), ['sent', 'not_sent', 'aborted'] ) && $current_form_has_been_submitted ) {
|
5668 |
$echo_form = false;
|
5669 |
}
|
5670 |
}
|
nimble-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Nimble Page Builder
|
4 |
* Plugin URI: https://nimblebuilder.com
|
5 |
* Description: Simple and smart companion that allows you to insert sections into any existing page, create landing pages or entire websites including header and footer.
|
6 |
-
* Version: 3.
|
7 |
* Text Domain: nimble-builder
|
8 |
* Author: Press Customizr
|
9 |
* Author URI: https://nimblebuilder.com/?utm_source=wp-plugins&utm_medium=wp-dashboard&utm_campaign=author-uri
|
@@ -16,7 +16,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
16 |
/* ------------------------------------------------------------------------- *
|
17 |
* CONSTANTS
|
18 |
/* ------------------------------------------------------------------------- */
|
19 |
-
$current_version = "3.
|
20 |
|
21 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
22 |
if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
|
3 |
* Plugin Name: Nimble Page Builder
|
4 |
* Plugin URI: https://nimblebuilder.com
|
5 |
* Description: Simple and smart companion that allows you to insert sections into any existing page, create landing pages or entire websites including header and footer.
|
6 |
+
* Version: 3.3.1
|
7 |
* Text Domain: nimble-builder
|
8 |
* Author: Press Customizr
|
9 |
* Author URI: https://nimblebuilder.com/?utm_source=wp-plugins&utm_medium=wp-dashboard&utm_campaign=author-uri
|
16 |
/* ------------------------------------------------------------------------- *
|
17 |
* CONSTANTS
|
18 |
/* ------------------------------------------------------------------------- */
|
19 |
+
$current_version = "3.3.1";
|
20 |
|
21 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
22 |
if ( !defined( 'NIMBLE_DIR_NAME' ) ) { define( 'NIMBLE_DIR_NAME' , basename( dirname( __FILE__ ) ) ); }
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Plugin URI: https://wordpress.org/plugins/nimble-builder/
|
|
5 |
Tags: page builder, visual editor, customizer, drag and drop, header, footer, landing page, contact form, grid, post grid
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
-
Tested up to:
|
9 |
-
Stable tag: 3.
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8FMNQPU36U27J&source=url
|
5 |
Tags: page builder, visual editor, customizer, drag and drop, header, footer, landing page, contact form, grid, post grid
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
+
Tested up to: 6.0
|
9 |
+
Stable tag: 3.3.1
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8FMNQPU36U27J&source=url
|
tmpl/modules/simple_html_module_tmpl.php
CHANGED
@@ -35,7 +35,9 @@ if ( !function_exists( 'Nimble\sek_print_html_content') ) {
|
|
35 |
if ( !skp_is_customizing() ) {
|
36 |
echo apply_filters( 'nimble_parse_for_smart_load',apply_filters( 'sek_html_content', htmlspecialchars_decode(esc_html($html_content) )) );
|
37 |
} else {
|
|
|
38 |
echo wp_kses_post($html_content);
|
|
|
39 |
}
|
40 |
remove_filter( 'sek_html_content', 'do_shortcode' );
|
41 |
}
|
35 |
if ( !skp_is_customizing() ) {
|
36 |
echo apply_filters( 'nimble_parse_for_smart_load',apply_filters( 'sek_html_content', htmlspecialchars_decode(esc_html($html_content) )) );
|
37 |
} else {
|
38 |
+
add_filter( 'safe_style_css', 'nimble_allow_display_attribute' );
|
39 |
echo wp_kses_post($html_content);
|
40 |
+
remove_filter( 'safe_style_css', 'nimble_allow_display_attribute' );
|
41 |
}
|
42 |
remove_filter( 'sek_html_content', 'do_shortcode' );
|
43 |
}
|