Page Builder: PageLayer – Drag and Drop website builder - Version 1.5.3

Version Description

(July 28, 2021) = * [Bug-Fix] In some cases there was some js error occurred after the last version. This is fixed.

Download this release

Release Info

Developer pagelayer
Plugin Icon 128x128 Page Builder: PageLayer – Drag and Drop website builder
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

Files changed (4) hide show
  1. init.php +1 -1
  2. js/properties.js +3 -3
  3. pagelayer.php +1 -1
  4. readme.txt +4 -1
init.php CHANGED
@@ -5,7 +5,7 @@ if (!defined('ABSPATH')) exit;
5
 
6
  define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
7
  define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
8
- define('PAGELAYER_VERSION', '1.5.2');
9
  define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
  define('PAGELAYER_SLUG', 'pagelayer');
11
  define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
5
 
6
  define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
7
  define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
8
+ define('PAGELAYER_VERSION', '1.5.3');
9
  define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
  define('PAGELAYER_SLUG', 'pagelayer');
11
  define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
js/properties.js CHANGED
@@ -1254,7 +1254,7 @@ function pagelayer_elp_image(row, prop){
1254
  var def = pagelayer.blank_img;
1255
 
1256
  // Background image URls
1257
- var src = (tmp in prop.el.tmp) ? prop.el.tmp[tmp] : ((!pagelayer_empty(imgObj['img']) && imgObj['img'].search(/http(|s):\/\//i) == 0) ? imgObj['img'] : def );
1258
 
1259
  // Do we have a URL set ?
1260
  var style = 'style="background-image:url(\''+src+'\')"';
@@ -1285,9 +1285,9 @@ function pagelayer_elp_image(row, prop){
1285
  var tmp_retina = prop.c['name']+'-retina-url';
1286
  var tmp_retina_mobile = prop.c['name']+'-retina-mobile-url';
1287
 
1288
- var srcRetina = (tmp_retina in prop.el.tmp) ? prop.el.tmp[tmp_retina] : (('retina' in imgObj && !pagelayer_empty(imgObj['retina']) && imgObj['retina'].search(/http(|s):\/\//i) == 0) ? imgObj['retina'] : def );
1289
 
1290
- var srcRetinaMobile = (tmp_retina_mobile in prop.el.tmp) ? prop.el.tmp[tmp_retina_mobile] : (('retina_mobile' in imgObj && !pagelayer_empty(imgObj['retina_mobile']) && imgObj['retina_mobile'].search(/http(|s):\/\//i) == 0) ? imgObj['retina_mobile'] : def );
1291
 
1292
  var style_retina = 'style="background-image:url(\''+srcRetina+'\')"';
1293
  var style_retina_mobile = 'style="background-image:url(\''+srcRetinaMobile+'\')"';
1254
  var def = pagelayer.blank_img;
1255
 
1256
  // Background image URls
1257
+ var src = (tmp in prop.el.tmp) ? prop.el.tmp[tmp] : ((!pagelayer_empty(imgObj['img']) && String(imgObj['img']).search(/http(|s):\/\//i) == 0) ? imgObj['img'] : def );
1258
 
1259
  // Do we have a URL set ?
1260
  var style = 'style="background-image:url(\''+src+'\')"';
1285
  var tmp_retina = prop.c['name']+'-retina-url';
1286
  var tmp_retina_mobile = prop.c['name']+'-retina-mobile-url';
1287
 
1288
+ var srcRetina = (tmp_retina in prop.el.tmp) ? prop.el.tmp[tmp_retina] : (('retina' in imgObj && !pagelayer_empty(imgObj['retina']) && String(imgObj['retina']).search(/http(|s):\/\//i) == 0) ? imgObj['retina'] : def );
1289
 
1290
+ var srcRetinaMobile = (tmp_retina_mobile in prop.el.tmp) ? prop.el.tmp[tmp_retina_mobile] : (('retina_mobile' in imgObj && !pagelayer_empty(imgObj['retina_mobile']) && String(imgObj['retina_mobile']).search(/http(|s):\/\//i) == 0) ? imgObj['retina_mobile'] : def );
1291
 
1292
  var style_retina = 'style="background-image:url(\''+srcRetina+'\')"';
1293
  var style_retina_mobile = 'style="background-image:url(\''+srcRetinaMobile+'\')"';
pagelayer.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: PageLayer
4
  Plugin URI: http://wordpress.org/plugins/pagelayer/
5
  Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
6
- Version: 1.5.2
7
  Author: Pagelayer Team
8
  Author URI: https://pagelayer.com/
9
  License: LGPL v2.1
3
  Plugin Name: PageLayer
4
  Plugin URI: http://wordpress.org/plugins/pagelayer/
5
  Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
6
+ Version: 1.5.3
7
  Author: Pagelayer Team
8
  Author URI: https://pagelayer.com/
9
  License: LGPL v2.1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: page builder, editor, drag-and-drop, landing page, replace image, pagelaye
4
  Requires at least: 4.7
5
  Tested up to: 5.8
6
  Requires PHP: 5.5
7
- Stable tag: 1.5.2
8
  License: LGPL v2.1
9
  License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
 
@@ -109,6 +109,9 @@ Do you have questions related to PageLayer ? Use the following links :
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 1.5.2 (July 23, 2021) =
113
  * [Feature] We have improved the inline editor UI and UX. This is to give a better experience while editing the text. More improvements to the editing experience will follow soon.
114
  * [Feature] Retina Image option enabled for Image and Image Box widgets.
4
  Requires at least: 4.7
5
  Tested up to: 5.8
6
  Requires PHP: 5.5
7
+ Stable tag: 1.5.3
8
  License: LGPL v2.1
9
  License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.5.3 (July 28, 2021) =
113
+ * [Bug-Fix] In some cases there was some js error occurred after the last version. This is fixed.
114
+
115
  = 1.5.2 (July 23, 2021) =
116
  * [Feature] We have improved the inline editor UI and UX. This is to give a better experience while editing the text. More improvements to the editing experience will follow soon.
117
  * [Feature] Retina Image option enabled for Image and Image Box widgets.