Brizy – Page Builder - Version 1.0.107

Version Description

  • 2019-12-11 =
  • Fixed: Compile if there is no autosave post on vew page
Download this release

Release Info

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

Code changes from version 1.0.106 to 1.0.107

README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.2.3<br>
5
  Requires PHP: 5.6<br>
6
- Stable tag: 1.0.106<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
  ### 1.0.106 - 2019-12-11 ###
122
  * Improved: Page save
123
  * New: Extended REST api response for brizy posts
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.2.3<br>
5
  Requires PHP: 5.6<br>
6
+ Stable tag: 1.0.107<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
118
 
119
  ## Changelog
120
 
121
+ ### 1.0.107 - 2019-12-11 ###
122
+ * Fixed: Compile if there is no autosave post on vew page
123
+
124
  ### 1.0.106 - 2019-12-11 ###
125
  * Improved: Page save
126
  * New: Extended REST api response for brizy posts
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: 1.0.106
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', '1.0.106' );
23
  define( 'BRIZY_EDITOR_VERSION', '125' );
24
  define( 'BRIZY_FILE', __FILE__ );
25
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 1.0.107
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', '1.0.107' );
23
  define( 'BRIZY_EDITOR_VERSION', '125' );
24
  define( 'BRIZY_FILE', __FILE__ );
25
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
public/main.php CHANGED
@@ -415,6 +415,9 @@ class Brizy_Public_Main {
415
  if ( $autosaveId ) {
416
  $this->post = Brizy_Editor_Post::get( $autosaveId );
417
  $needs_compile = ! $this->post->isCompiledWithCurrentVersion() || $this->post->get_needs_compile();
 
 
 
418
  }
419
  }
420
 
415
  if ( $autosaveId ) {
416
  $this->post = Brizy_Editor_Post::get( $autosaveId );
417
  $needs_compile = ! $this->post->isCompiledWithCurrentVersion() || $this->post->get_needs_compile();
418
+ } else {
419
+ // we make this false becasue the page was saved.
420
+ $is_preview = false;
421
  }
422
  }
423
 
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.2.3
6
  Requires PHP: 5.6
7
- Stable tag: 1.0.106
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
  = 1.0.106 - 2019-12-11 =
143
  * Improved: Page save
144
  * New: Extended REST api response for brizy posts
4
  Requires at least: 4.5
5
  Tested up to: 5.2.3
6
  Requires PHP: 5.6
7
+ Stable tag: 1.0.107
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 1.0.107 - 2019-12-11 =
143
+ * Fixed: Compile if there is no autosave post on vew page
144
+
145
  = 1.0.106 - 2019-12-11 =
146
  * Improved: Page save
147
  * New: Extended REST api response for brizy posts
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd34042fae96051e0b41eea856ce23368::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962', '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\ComposerStaticInit469b7e4813d629b22efcf8086b3ba962::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit469b7e4813d629b22efcf8086b3ba962
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit469b7e4813d629b22efcf8086b3ba962::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire469b7e4813d629b22efcf8086b3ba962($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire469b7e4813d629b22efcf8086b3ba962($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 ComposerAutoloaderInitd34042fae96051e0b41eea856ce23368
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd34042fae96051e0b41eea856ce23368', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd34042fae96051e0b41eea856ce23368', '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\ComposerStaticInitd34042fae96051e0b41eea856ce23368::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\ComposerStaticInitd34042fae96051e0b41eea856ce23368::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequired34042fae96051e0b41eea856ce23368($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequired34042fae96051e0b41eea856ce23368($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 ComposerStaticInit469b7e4813d629b22efcf8086b3ba962
8
  {
9
  public static $files = array (
10
  '8ec4222c68e580a23520eef4abe4380f' => __DIR__ . '/..' . '/shortpixel/shortpixel-php/lib/ShortPixel.php',
@@ -52,9 +52,9 @@ class ComposerStaticInit469b7e4813d629b22efcf8086b3ba962
52
  public static function getInitializer(ClassLoader $loader)
53
  {
54
  return \Closure::bind(function () use ($loader) {
55
- $loader->prefixLengthsPsr4 = ComposerStaticInit469b7e4813d629b22efcf8086b3ba962::$prefixLengthsPsr4;
56
- $loader->prefixDirsPsr4 = ComposerStaticInit469b7e4813d629b22efcf8086b3ba962::$prefixDirsPsr4;
57
- $loader->prefixesPsr0 = ComposerStaticInit469b7e4813d629b22efcf8086b3ba962::$prefixesPsr0;
58
 
59
  }, null, ClassLoader::class);
60
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitd34042fae96051e0b41eea856ce23368
8
  {
9
  public static $files = array (
10
  '8ec4222c68e580a23520eef4abe4380f' => __DIR__ . '/..' . '/shortpixel/shortpixel-php/lib/ShortPixel.php',
52
  public static function getInitializer(ClassLoader $loader)
53
  {
54
  return \Closure::bind(function () use ($loader) {
55
+ $loader->prefixLengthsPsr4 = ComposerStaticInitd34042fae96051e0b41eea856ce23368::$prefixLengthsPsr4;
56
+ $loader->prefixDirsPsr4 = ComposerStaticInitd34042fae96051e0b41eea856ce23368::$prefixDirsPsr4;
57
+ $loader->prefixesPsr0 = ComposerStaticInitd34042fae96051e0b41eea856ce23368::$prefixesPsr0;
58
 
59
  }, null, ClassLoader::class);
60
  }