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

Version Description

(Nov 03, 2021) = * [Bug-Fix] On turning on the error report in PHP, some PHP error notice was shown. This is fixed. * [Bug-Fix] In certain cases, inline editing in table widget was not working properly. This is fixed.

Download this release

Release Info

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

Code changes from version 1.5.8 to 1.5.9

Files changed (4) hide show
  1. init.php +1 -1
  2. main/shortcode_functions.php +5 -6
  3. pagelayer.php +1 -1
  4. readme.txt +5 -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.8');
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.9');
9
  define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
  define('PAGELAYER_SLUG', 'pagelayer');
11
  define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
main/shortcode_functions.php CHANGED
@@ -1102,11 +1102,6 @@ function pagelayer_sc_social(&$el){
1102
  // Image Handler
1103
  function pagelayer_sc_image(&$el){
1104
 
1105
- // Backward compatibility for new link props
1106
- if($el['atts']['link_type'] == 'custom_url'){
1107
- pagelayer_add_link_backward($el, array( 'rel' => '', 'selector' => '.pagelayer-ele-link'));
1108
- }
1109
-
1110
  // Decide the image URL
1111
  $el['atts']['func_id'] = @$el['tmp']['id-'.$el['atts']['id-size'].'-url'];
1112
  $el['atts']['func_id'] = empty($el['atts']['func_id']) ? @$el['tmp']['id-url'] : $el['atts']['func_id'];
@@ -1124,6 +1119,10 @@ function pagelayer_sc_image(&$el){
1124
 
1125
  // Custom url
1126
  if($el['atts']['link_type'] == 'custom_url'){
 
 
 
 
1127
  $el['atts']['func_link'] = @$el['tmp']['link'];
1128
  }
1129
 
@@ -1147,7 +1146,7 @@ function pagelayer_sc_image(&$el){
1147
  function pagelayer_sc_image_slider(&$el){
1148
 
1149
  // Backward compatibility for new link props
1150
- if($el['atts']['link_type'] == 'custom_url'){
1151
  pagelayer_add_link_backward($el, array( 'rel' => '', 'selector' => '.pagelayer-link-sel'));
1152
  }
1153
 
1102
  // Image Handler
1103
  function pagelayer_sc_image(&$el){
1104
 
 
 
 
 
 
1105
  // Decide the image URL
1106
  $el['atts']['func_id'] = @$el['tmp']['id-'.$el['atts']['id-size'].'-url'];
1107
  $el['atts']['func_id'] = empty($el['atts']['func_id']) ? @$el['tmp']['id-url'] : $el['atts']['func_id'];
1119
 
1120
  // Custom url
1121
  if($el['atts']['link_type'] == 'custom_url'){
1122
+
1123
+ // Backward compatibility for new link props
1124
+ pagelayer_add_link_backward($el, array( 'rel' => '', 'selector' => '.pagelayer-ele-link'));
1125
+
1126
  $el['atts']['func_link'] = @$el['tmp']['link'];
1127
  }
1128
 
1146
  function pagelayer_sc_image_slider(&$el){
1147
 
1148
  // Backward compatibility for new link props
1149
+ if( !empty($el['atts']['link_type']) && $el['atts']['link_type'] == 'custom_url' ){
1150
  pagelayer_add_link_backward($el, array( 'rel' => '', 'selector' => '.pagelayer-link-sel'));
1151
  }
1152
 
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.8
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.9
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.8
8
  License: LGPL v2.1
9
  License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
 
@@ -111,6 +111,10 @@ Do you have questions related to PageLayer ? Use the following links :
111
 
112
  == Changelog ==
113
 
 
 
 
 
114
  = 1.5.8 (Oct 20, 2021) =
115
  * [Improvement] The link property has been further improved to add target, rel and other attributes.
116
  * [Improvement] Added the color options in the social share widget for the labels.
4
  Requires at least: 4.7
5
  Tested up to: 5.8
6
  Requires PHP: 5.5
7
+ Stable tag: 1.5.9
8
  License: LGPL v2.1
9
  License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
 
111
 
112
  == Changelog ==
113
 
114
+ = 1.5.9 (Nov 03, 2021) =
115
+ * [Bug-Fix] On turning on the error report in PHP, some PHP error notice was shown. This is fixed.
116
+ * [Bug-Fix] In certain cases, inline editing in table widget was not working properly. This is fixed.
117
+
118
  = 1.5.8 (Oct 20, 2021) =
119
  * [Improvement] The link property has been further improved to add target, rel and other attributes.
120
  * [Improvement] Added the color options in the social share widget for the labels.