Brizy – Page Builder - Version 1.0.14

Version Description

  • 2018-06-14 =
  • Fixed: update global values request
Download this release

Release Info

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

Code changes from version 1.0.13 to 1.0.14

README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
  Tested up to: 4.9<br>
5
  Requires PHP: 5.4<br>
6
- Stable tag: 1.0.13<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -96,8 +96,8 @@ A good bug report includes full details to easily understand the issue you are h
96
 
97
  ## Changelog
98
 
99
- ### 1.0.13 - 2018-06-13 ###
100
- Fixed: Removed signature and token check
101
 
102
  ### 1.0.12 - 2018-06-13 ###
103
  * New: Added WordPress form integration
3
  Requires at least: 4.5<br>
4
  Tested up to: 4.9<br>
5
  Requires PHP: 5.4<br>
6
+ Stable tag: 1.0.14<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
96
 
97
  ## Changelog
98
 
99
+ ### 1.0.14 - 2018-06-14 ###
100
+ * Fixed: update global values request
101
 
102
  ### 1.0.12 - 2018-06-13 ###
103
  * New: Added WordPress form integration
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.13
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -13,7 +13,7 @@
13
 
14
  define( 'BRIZY_DEVELOPMENT', false );
15
  define( 'BRIZY_LOG', false );
16
- define( 'BRIZY_VERSION', '1.0.13' );
17
  define( 'BRIZY_EDITOR_VERSION', '1.0.36' );
18
  define( 'BRIZY_FILE', __FILE__ );
19
  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.14
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
13
 
14
  define( 'BRIZY_DEVELOPMENT', false );
15
  define( 'BRIZY_LOG', false );
16
+ define( 'BRIZY_VERSION', '1.0.14' );
17
  define( 'BRIZY_EDITOR_VERSION', '1.0.36' );
18
  define( 'BRIZY_FILE', __FILE__ );
19
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
editor/api.php CHANGED
@@ -247,10 +247,10 @@ class Brizy_Editor_API {
247
  throw new Exception( 'Bad request' );
248
  }
249
 
250
- $platform = new Brizy_Editor_API_Platform();
251
- if ( $platform->isUserCreatedLocally() ) {
252
- $platform->createUser( null, false );
253
- }
254
 
255
  $user = Brizy_Editor_User::get();
256
 
@@ -395,8 +395,7 @@ class Brizy_Editor_API {
395
  $posts = Brizy_Editor_Post::get_all_brizy_posts();
396
 
397
  // we need to trigger a post update action to make sure the cache plugins will update clear the cache
398
- wp_update_post( array( 'ID' => $post_id ) );
399
-
400
  // mark all post to be compiled on next view
401
  foreach ( $posts as $bpost ) {
402
  $bpost->set_needs_compile( true );
@@ -405,11 +404,10 @@ class Brizy_Editor_API {
405
  wp_update_post( array( 'ID' => $bpost->get_id() ) );
406
  }
407
 
408
- $platform = new Brizy_Editor_API_Platform();
409
- if ( ! $platform->isUserCreatedLocally() ) {
410
- Brizy_Editor_User::get()->update_project( $this->project->get_api_project() );
411
- }
412
-
413
 
414
  $this->success( $this->create_post_globals() );
415
  } catch ( Exception $exception ) {
247
  throw new Exception( 'Bad request' );
248
  }
249
 
250
+ // $platform = new Brizy_Editor_API_Platform();
251
+ // if ( $platform->isUserCreatedLocally() ) {
252
+ // $platform->createUser( null, false );
253
+ // }
254
 
255
  $user = Brizy_Editor_User::get();
256
 
395
  $posts = Brizy_Editor_Post::get_all_brizy_posts();
396
 
397
  // we need to trigger a post update action to make sure the cache plugins will update clear the cache
398
+ remove_action( 'save_post', array( Brizy_Admin_Main::_init(), 'compile_post_action' ) );
 
399
  // mark all post to be compiled on next view
400
  foreach ( $posts as $bpost ) {
401
  $bpost->set_needs_compile( true );
404
  wp_update_post( array( 'ID' => $bpost->get_id() ) );
405
  }
406
 
407
+ // $platform = new Brizy_Editor_API_Platform();
408
+ // if ( ! $platform->isUserCreatedLocally() ) {
409
+ // Brizy_Editor_User::get()->update_project( $this->project->get_api_project() );
410
+ // }
 
411
 
412
  $this->success( $this->create_post_globals() );
413
  } catch ( Exception $exception ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: brizy, page builder, editor, visual editor, wysiwyg, landing page, drag-an
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.4
7
- Stable tag: 1.0.13
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -129,8 +129,8 @@ The progress you're making while building your page is always backed up in the c
129
 
130
  == Changelog ==
131
 
132
- = 1.0.13 - 2018-06-13 =
133
- Fixed: Removed signature and token check
134
 
135
  = 1.0.12 - 2018-06-13 =
136
  * New: Added WordPress form integration
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.4
7
+ Stable tag: 1.0.14
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
129
 
130
  == Changelog ==
131
 
132
+ = 1.0.14 - 2018-06-14 =
133
+ * Fixed: update global values request
134
 
135
  = 1.0.12 - 2018-06-13 =
136
  * New: Added WordPress form integration
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit69b1c03cf6ac5f9e5f1c1aa63f496437::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit57f5617a996d9af2cc94a96797722839', '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\ComposerStaticInit57f5617a996d9af2cc94a96797722839::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit69b1c03cf6ac5f9e5f1c1aa63f496437
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit69b1c03cf6ac5f9e5f1c1aa63f496437', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit69b1c03cf6ac5f9e5f1c1aa63f496437', '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\ComposerStaticInit69b1c03cf6ac5f9e5f1c1aa63f496437::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit57f5617a996d9af2cc94a96797722839
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -33,9 +33,9 @@ class ComposerStaticInit57f5617a996d9af2cc94a96797722839
33
  public static function getInitializer(ClassLoader $loader)
34
  {
35
  return \Closure::bind(function () use ($loader) {
36
- $loader->prefixLengthsPsr4 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixLengthsPsr4;
37
- $loader->prefixDirsPsr4 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixDirsPsr4;
38
- $loader->prefixesPsr0 = ComposerStaticInit57f5617a996d9af2cc94a96797722839::$prefixesPsr0;
39
 
40
  }, null, ClassLoader::class);
41
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit69b1c03cf6ac5f9e5f1c1aa63f496437
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
33
  public static function getInitializer(ClassLoader $loader)
34
  {
35
  return \Closure::bind(function () use ($loader) {
36
+ $loader->prefixLengthsPsr4 = ComposerStaticInit69b1c03cf6ac5f9e5f1c1aa63f496437::$prefixLengthsPsr4;
37
+ $loader->prefixDirsPsr4 = ComposerStaticInit69b1c03cf6ac5f9e5f1c1aa63f496437::$prefixDirsPsr4;
38
+ $loader->prefixesPsr0 = ComposerStaticInit69b1c03cf6ac5f9e5f1c1aa63f496437::$prefixesPsr0;
39
 
40
  }, null, ClassLoader::class);
41
  }