Version Description
: October 9th, 2018 = * fixed : code typo generating a php error ( https://wordpress.org/support/topic/unable-to-activate-44/ ) * fixed : use 'https' when building the dynamic stylesheet url when is_ssl()
Download this release
Release Info
Developer | nikeo |
Plugin | Nimble Page Builder |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- inc/sektions/ccat-sektions.php +18 -2
- nimble-builder.php +2 -2
- readme.txt +26 -1
inc/sektions/ccat-sektions.php
CHANGED
@@ -2405,7 +2405,7 @@ function sek_set_input_tmpl___buttons_choice( $input_id, $input_data ) {
|
|
2405 |
?>
|
2406 |
<# //console.log( 'IN php::sek_set_input_tmpl___buttons_choice() => data range_slide => ', data ); #>
|
2407 |
<?php
|
2408 |
-
if ( ! is_array( $input_data ) || empty( $input_data['choices'] || ! is_array( $input_data['choices'] ) )
|
2409 |
sek_error_log( __FUNCTION__ . ' error => missing choices property' );
|
2410 |
return;
|
2411 |
}
|
@@ -7975,7 +7975,7 @@ class Sek_Dyn_CSS_Handler {
|
|
7975 |
$this->base_url = $this->_sek_dyn_css_build_base_url();
|
7976 |
|
7977 |
$this->uri = $this->_sek_dyn_css_build_uri();
|
7978 |
-
$this->url = $this->_sek_dyn_css_build_url();
|
7979 |
|
7980 |
$this->file_exists = $this->_sek_dyn_css_file_exists();
|
7981 |
|
@@ -7987,6 +7987,21 @@ class Sek_Dyn_CSS_Handler {
|
|
7987 |
}
|
7988 |
|
7989 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7990 |
/**
|
7991 |
*
|
7992 |
* Maybe setup hooks
|
@@ -8200,6 +8215,7 @@ class Sek_Dyn_CSS_Handler {
|
|
8200 |
* @return string The absolute CSS file URL
|
8201 |
*/
|
8202 |
private function _sek_dyn_css_build_url() {
|
|
|
8203 |
$base_url = isset( $this->base_uri ) ? $this->base_url : $this->_sek_dyn_css_build_base_uri();
|
8204 |
return trailingslashit( $this->base_url ) . "{$this->id}.css";
|
8205 |
}
|
2405 |
?>
|
2406 |
<# //console.log( 'IN php::sek_set_input_tmpl___buttons_choice() => data range_slide => ', data ); #>
|
2407 |
<?php
|
2408 |
+
if ( ! is_array( $input_data ) || empty( $input_data['choices'] ) || ! is_array( $input_data['choices'] ) ) {
|
2409 |
sek_error_log( __FUNCTION__ . ' error => missing choices property' );
|
2410 |
return;
|
2411 |
}
|
7975 |
$this->base_url = $this->_sek_dyn_css_build_base_url();
|
7976 |
|
7977 |
$this->uri = $this->_sek_dyn_css_build_uri();
|
7978 |
+
$this->url = $this->_ssl_maybe_fix_url( $this->_sek_dyn_css_build_url() );
|
7979 |
|
7980 |
$this->file_exists = $this->_sek_dyn_css_file_exists();
|
7981 |
|
7987 |
}
|
7988 |
|
7989 |
|
7990 |
+
/**
|
7991 |
+
* replace http: URL with https: URL
|
7992 |
+
* @fix https://github.com/presscustomizr/nimble-builder/issues/188
|
7993 |
+
* @param string $url
|
7994 |
+
* @return string
|
7995 |
+
*/
|
7996 |
+
private function _ssl_maybe_fix_url($url) {
|
7997 |
+
if ( is_ssl() && is_string($url) && stripos($url, 'http://') === 0 ) {
|
7998 |
+
$url = 'https' . substr($url, 4);
|
7999 |
+
}
|
8000 |
+
|
8001 |
+
return $url;
|
8002 |
+
}
|
8003 |
+
|
8004 |
+
|
8005 |
/**
|
8006 |
*
|
8007 |
* Maybe setup hooks
|
8215 |
* @return string The absolute CSS file URL
|
8216 |
*/
|
8217 |
private function _sek_dyn_css_build_url() {
|
8218 |
+
|
8219 |
$base_url = isset( $this->base_uri ) ? $this->base_url : $this->_sek_dyn_css_build_base_uri();
|
8220 |
return trailingslashit( $this->base_url ) . "{$this->id}.css";
|
8221 |
}
|
nimble-builder.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Nimble Builder
|
4 |
* Description: Drag-and-drop section builder companion of the Customizr and Hueman themes.
|
5 |
-
* Version: 1.1.
|
6 |
* Text Domain: nimble-builder
|
7 |
* Author: Press Customizr
|
8 |
* Author URI: https://presscustomizr.com
|
@@ -11,7 +11,7 @@
|
|
11 |
/* ------------------------------------------------------------------------- *
|
12 |
* CONSTANTS
|
13 |
/* ------------------------------------------------------------------------- */
|
14 |
-
$current_version = "1.1.
|
15 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
16 |
if ( !defined( 'NIMBLE_ASSETS_VERSION' ) ) {
|
17 |
define( 'NIMBLE_ASSETS_VERSION', ( ( defined( 'NIMBLE_DEV' ) && NIMBLE_DEV ) || ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ) ? time() : NIMBLE_VERSION );
|
2 |
/**
|
3 |
* Plugin Name: Nimble Builder
|
4 |
* Description: Drag-and-drop section builder companion of the Customizr and Hueman themes.
|
5 |
+
* Version: 1.1.4
|
6 |
* Text Domain: nimble-builder
|
7 |
* Author: Press Customizr
|
8 |
* Author URI: https://presscustomizr.com
|
11 |
/* ------------------------------------------------------------------------- *
|
12 |
* CONSTANTS
|
13 |
/* ------------------------------------------------------------------------- */
|
14 |
+
$current_version = "1.1.4";
|
15 |
if ( !defined( "NIMBLE_VERSION" ) ) { define( "NIMBLE_VERSION", $current_version ); }
|
16 |
if ( !defined( 'NIMBLE_ASSETS_VERSION' ) ) {
|
17 |
define( 'NIMBLE_ASSETS_VERSION', ( ( defined( 'NIMBLE_DEV' ) && NIMBLE_DEV ) || ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ) ? time() : NIMBLE_VERSION );
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: customizer, editor, page builder, drag and drop
|
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
Tested up to: 4.9.8
|
9 |
-
Stable tag: 1.1.
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -44,6 +44,10 @@ You'll find an online knowledge base for the Nimble builder here : [Nimble build
|
|
44 |
The Nimble builder has been optimized to work with the Customizr and Hueman theme, but it works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
|
45 |
|
46 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
47 |
= 1.1.3 : October 9th, 2018 =
|
48 |
* fixed : user interface not generated on the first click in some cases
|
49 |
|
@@ -70,6 +74,27 @@ The Nimble builder has been optimized to work with the Customizr and Hueman them
|
|
70 |
* fixed : dynamic CSS can be printed twice : inline and enqueued as CSS file when user logged in.
|
71 |
|
72 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
= 1.0.4 : June 14th, 2018 =
|
74 |
* fixed : when margins and paddings are not defined ( number field emptied ), no related CSS properties should be printed.
|
75 |
* fixed : sek-sektion-inner should not have a padding of 15px on front.
|
6 |
Requires at least: 4.7
|
7 |
Requires PHP: 5.4
|
8 |
Tested up to: 4.9.8
|
9 |
+
Stable tag: 1.1.4
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
44 |
The Nimble builder has been optimized to work with the Customizr and Hueman theme, but it works with any WordPress theme. If you experience any problem with a specific theme, please report it in the [plugin support forum](https://wordpress.org/support/plugin/nimble-builder).
|
45 |
|
46 |
== Upgrade Notice ==
|
47 |
+
= 1.1.4 : October 9th, 2018 =
|
48 |
+
* fixed : code typo generating a php error ( https://wordpress.org/support/topic/unable-to-activate-44/ )
|
49 |
+
* fixed : use 'https' when building the dynamic stylesheet url when is_ssl()
|
50 |
+
|
51 |
= 1.1.3 : October 9th, 2018 =
|
52 |
* fixed : user interface not generated on the first click in some cases
|
53 |
|
74 |
* fixed : dynamic CSS can be printed twice : inline and enqueued as CSS file when user logged in.
|
75 |
|
76 |
== Changelog ==
|
77 |
+
= 1.1.4 : October 9th, 2018 =
|
78 |
+
* fixed : code typo generating a php error ( https://wordpress.org/support/topic/unable-to-activate-44/ )
|
79 |
+
* fixed : use 'https' when building the dynamic stylesheet url when is_ssl()
|
80 |
+
|
81 |
+
= 1.1.3 : October 9th, 2018 =
|
82 |
+
* fixed : user interface not generated on the first click in some cases
|
83 |
+
|
84 |
+
= 1.1.2 : October 8th, 2018 =
|
85 |
+
* improved : the content picker should be available when expanding the main Nimble panel for the first time.
|
86 |
+
* improved : the collection of pre-designed sections is fetched earlier for better perforamnces.
|
87 |
+
* improved : a set of params can now be passed to a custom location when registering.
|
88 |
+
|
89 |
+
= 1.1.1 : October 7th, 2018 =
|
90 |
+
* fixed : wrong error message, indicating a missing "ver_ini" property for column and module generated when dropping a module in a section to create
|
91 |
+
* added : a filter 'nimble_get_locale_template_path', used for example in the Hueman theme to define a custom Nimble template path
|
92 |
+
|
93 |
+
= 1.1.0 : October 5th, 2018 =
|
94 |
+
* This version includes major improvements. Many new modules and pre-designed sections are now available to create your pages.
|
95 |
+
* New modules : heading, icon, button, Google map, Html content, quote, spacer, divider, contact form.
|
96 |
+
* The user interface has been enhanced with a non intrusive top bar, including do/undo buttons, and global settings for the Nimble builder.
|
97 |
+
|
98 |
= 1.0.4 : June 14th, 2018 =
|
99 |
* fixed : when margins and paddings are not defined ( number field emptied ), no related CSS properties should be printed.
|
100 |
* fixed : sek-sektion-inner should not have a padding of 15px on front.
|