Brizy – Page Builder - Version 2.0.10

Version Description

  • 2020-09-14 =
  • Fixed: Cloud sync
Download this release

Release Info

Developer themefusecom
Plugin Icon 128x128 Brizy – Page Builder
Version 2.0.10
Comparing to
See all releases

Code changes from version 2.0.9 to 2.0.10

README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.5<br>
5
  Requires PHP: 5.6<br>
6
- Stable tag: 2.0.9<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -118,6 +118,9 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
118
 
119
  ## Changelog
120
 
 
 
 
121
  ### 2.0.9 - 2020-09-11 ###
122
  * Fixed: Blured images
123
 
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.5<br>
5
  Requires PHP: 5.6<br>
6
+ Stable tag: 2.0.10<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
118
 
119
  ## Changelog
120
 
121
+ ### 2.0.10 - 2020-09-14 ###
122
+ * Fixed: Cloud sync
123
+
124
  ### 2.0.9 - 2020-09-11 ###
125
  * Fixed: Blured images
126
 
brizy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
- * Version: 2.0.9
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -19,7 +19,7 @@ if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FO
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
- define( 'BRIZY_VERSION', '2.0.9' );
23
  define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '154-wp' );
24
  define( 'BRIZY_SYNC_VERSION', '154' );
25
  define( 'BRIZY_FILE', __FILE__ );
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 2.0.10
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
+ define( 'BRIZY_VERSION', '2.0.10' );
23
  define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '154-wp' );
24
  define( 'BRIZY_SYNC_VERSION', '154' );
25
  define( 'BRIZY_FILE', __FILE__ );
editor/editor/editor.php CHANGED
@@ -874,8 +874,8 @@ class Brizy_Editor_Editor_Editor
874
  {
875
  // the cloud will be always initialized with the exception when the white label is enabled
876
  // we wil return isSyncAllowed = false just in case
877
- if ( !(class_exists( 'BrizyPro_Admin_WhiteLabel' ) && BrizyPro_Admin_WhiteLabel::_init()->getEnabled()) ) {
878
- return array(
879
  'isSyncAllowed' => false,
880
  );
881
  }
874
  {
875
  // the cloud will be always initialized with the exception when the white label is enabled
876
  // we wil return isSyncAllowed = false just in case
877
+ if ( class_exists( 'BrizyPro_Admin_WhiteLabel' ) && BrizyPro_Admin_WhiteLabel::_init()->getEnabled() ) {
878
+ return array(
879
  'isSyncAllowed' => false,
880
  );
881
  }
editor/forms/api.php CHANGED
@@ -189,7 +189,7 @@ class Brizy_Editor_Forms_Api {
189
  * @var Brizy_Editor_Forms_Form $form ;
190
  */
191
 
192
- $form = $manager->getForm( $_REQUEST['form_id'] );
193
 
194
  if ( ! $form ) {
195
  $this->error( 404, "Form not found" );
189
  * @var Brizy_Editor_Forms_Form $form ;
190
  */
191
 
192
+ $form = $manager->getForm( isset($_REQUEST['form_id'])?:null );
193
 
194
  if ( ! $form ) {
195
  $this->error( 404, "Form not found" );
editor/forms/form-manager.php CHANGED
@@ -40,7 +40,9 @@ class Brizy_Editor_Forms_FormManager {
40
  * @return Brizy_Editor_Forms_Form
41
  */
42
  public function getForm( $form_id ) {
43
- return $this->forms[ $form_id ];
 
 
44
  }
45
 
46
  /**
@@ -100,4 +102,4 @@ class Brizy_Editor_Forms_FormManager {
100
  $this->project->setMetaValue( 'forms', $data );
101
  $this->project->saveStorage();
102
  }
103
- }
40
  * @return Brizy_Editor_Forms_Form
41
  */
42
  public function getForm( $form_id ) {
43
+ if ( $form_id && isset($this->forms[ $form_id ])) {
44
+ return $this->forms[ $form_id ];
45
+ }
46
  }
47
 
48
  /**
102
  $this->project->setMetaValue( 'forms', $data );
103
  $this->project->saveStorage();
104
  }
105
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: brizy, page builder, editor, visual editor, unyson, wysiwyg, landing page,
4
  Requires at least: 4.5
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 2.0.9
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -139,6 +139,9 @@ The progress you're making while building your page is always backed up in the c
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 2.0.9 - 2020-09-11 =
143
  * Fixed: Blured images
144
 
4
  Requires at least: 4.5
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 2.0.10
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.0.10 - 2020-09-14 =
143
+ * Fixed: Cloud sync
144
+
145
  = 2.0.9 - 2020-09-11 =
146
  * Fixed: Blured images
147
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitc565f776b7c2c033bad94a13bb9ae5d3::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitd33754e2051a8646653bf2bfa3cc3cbe
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequired33754e2051a8646653bf2bfa3cc3cbe($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequired33754e2051a8646653bf2bfa3cc3cbe($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitc565f776b7c2c033bad94a13bb9ae5d3
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitc565f776b7c2c033bad94a13bb9ae5d3', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitc565f776b7c2c033bad94a13bb9ae5d3', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequirec565f776b7c2c033bad94a13bb9ae5d3($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequirec565f776b7c2c033bad94a13bb9ae5d3($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -74,9 +74,9 @@ class ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe
74
  public static function getInitializer(ClassLoader $loader)
75
  {
76
  return \Closure::bind(function () use ($loader) {
77
- $loader->prefixLengthsPsr4 = ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe::$prefixLengthsPsr4;
78
- $loader->prefixDirsPsr4 = ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe::$prefixDirsPsr4;
79
- $loader->prefixesPsr0 = ComposerStaticInitd33754e2051a8646653bf2bfa3cc3cbe::$prefixesPsr0;
80
 
81
  }, null, ClassLoader::class);
82
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
74
  public static function getInitializer(ClassLoader $loader)
75
  {
76
  return \Closure::bind(function () use ($loader) {
77
+ $loader->prefixLengthsPsr4 = ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3::$prefixLengthsPsr4;
78
+ $loader->prefixDirsPsr4 = ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3::$prefixDirsPsr4;
79
+ $loader->prefixesPsr0 = ComposerStaticInitc565f776b7c2c033bad94a13bb9ae5d3::$prefixesPsr0;
80
 
81
  }, null, ClassLoader::class);
82
  }