Version Description
- 2021-08-18 =
- Fixed: Recompile pages when the Pro plugin is upgraded or disabled
Download this release
Release Info
Developer | themefusecom |
Plugin | Brizy – Page Builder |
Version | 2.3.11 |
Comparing to | |
See all releases |
Code changes from version 2.3.10 to 2.3.11
- README.md +4 -1
- admin/main.php +1 -0
- brizy.php +2 -2
- editor/post.php +68 -40
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/InstalledVersions.php +2 -2
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
- vendor/composer/installed.php +2 -2
README.md
CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
|
|
3 |
Requires at least: 4.5<br>
|
4 |
Tested up to: 5.7<br>
|
5 |
Requires PHP: 5.6<br>
|
6 |
-
Stable tag: 2.3.
|
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.3.10 - 2021-08-17
|
122 |
* Fixed: Dash separated value name for custom attributes
|
123 |
* Fixed: Cache assets on Brizy websites
|
3 |
Requires at least: 4.5<br>
|
4 |
Tested up to: 5.7<br>
|
5 |
Requires PHP: 5.6<br>
|
6 |
+
Stable tag: 2.3.11<br>
|
7 |
License: GPLv3<br>
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
118 |
|
119 |
## Changelog
|
120 |
|
121 |
+
### 2.3.11 - 2021-08-18
|
122 |
+
* Fixed: Recompile pages when the Pro plugin is upgraded or disabled
|
123 |
+
|
124 |
### 2.3.10 - 2021-08-17
|
125 |
* Fixed: Dash separated value name for custom attributes
|
126 |
* Fixed: Cache assets on Brizy websites
|
admin/main.php
CHANGED
@@ -501,6 +501,7 @@ class Brizy_Admin_Main {
|
|
501 |
$post->enable_editor();
|
502 |
$post->set_template( Brizy_Config::BRIZY_BLANK_TEMPLATE_FILE_NAME );
|
503 |
$post->set_plugin_version( BRIZY_VERSION );
|
|
|
504 |
$post->saveStorage();
|
505 |
do_action( 'brizy_after_enabled_for_post', $p );
|
506 |
// redirect
|
501 |
$post->enable_editor();
|
502 |
$post->set_template( Brizy_Config::BRIZY_BLANK_TEMPLATE_FILE_NAME );
|
503 |
$post->set_plugin_version( BRIZY_VERSION );
|
504 |
+
$post->set_pro_plugin_version( defined( 'BRIZY_PRO_VERSION' ) ? BRIZY_PRO_VERSION : null );
|
505 |
$post->saveStorage();
|
506 |
do_action( 'brizy_after_enabled_for_post', $p );
|
507 |
// redirect
|
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.3.
|
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.3.
|
23 |
define( 'BRIZY_MINIMUM_PRO_VERSION', '2.3.0' );
|
24 |
define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '200-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '200' );
|
5 |
* Plugin URI: https://brizy.io/
|
6 |
* Author: Brizy.io
|
7 |
* Author URI: https://brizy.io/
|
8 |
+
* Version: 2.3.11
|
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.3.11' );
|
23 |
define( 'BRIZY_MINIMUM_PRO_VERSION', '2.3.0' );
|
24 |
define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '200-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '200' );
|
editor/post.php
CHANGED
@@ -69,6 +69,11 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
69 |
*/
|
70 |
protected $compiler_version;
|
71 |
|
|
|
|
|
|
|
|
|
|
|
72 |
/**
|
73 |
* @var string
|
74 |
*/
|
@@ -196,6 +201,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
196 |
'editor_version' => $this->editor_version,
|
197 |
'compiler_version' => $this->compiler_version,
|
198 |
'plugin_version' => $this->plugin_version,
|
|
|
199 |
'editor_data' => $this->editor_data,
|
200 |
Brizy_Editor_Constants::USES_BRIZY => $this->uses_editor()
|
201 |
);
|
@@ -223,7 +229,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
223 |
$post_type = $this->getWpPost()->post_type;
|
224 |
$post_type_object = get_post_type_object( $post_type );
|
225 |
$content = $this->getWpPost()->post_content;
|
226 |
-
$content = strpos( $content, 'brz-root__container' ) ? preg_replace('/<!-- version:\d+ -->/', '', $content ) : $emptyContent;
|
227 |
|
228 |
$params = [
|
229 |
'ID' => $this->getWpPostId(),
|
@@ -243,16 +249,16 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
243 |
|
244 |
$context = new Brizy_Content_Context( Brizy_Editor_Project::get(), null, $this->getWpPost(), null );
|
245 |
$placeholderProvider = new Brizy_Content_PlaceholderWpProvider( $context );
|
246 |
-
|
247 |
-
$extractor
|
248 |
|
249 |
-
|
250 |
|
251 |
-
|
252 |
-
|
253 |
|
254 |
-
$content
|
255 |
-
$content
|
256 |
|
257 |
$wpdb->update(
|
258 |
$wpdb->posts,
|
@@ -303,17 +309,16 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
303 |
continue;
|
304 |
}
|
305 |
if ( $k == 'main' ) {
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
}
|
311 |
|
312 |
foreach ( $scripts as $l => $script ) {
|
313 |
-
if(isset($compiledData['pageScripts'][ $i ][ $k ][ $l ]['content']['url']))
|
314 |
-
|
315 |
-
|
316 |
-
}
|
317 |
}
|
318 |
|
319 |
}
|
@@ -324,19 +329,17 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
324 |
continue;
|
325 |
}
|
326 |
if ( $k == 'main' ) {
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
}
|
331 |
continue;
|
332 |
}
|
333 |
foreach ( $styles as $l => $style ) {
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
}
|
340 |
}
|
341 |
}
|
342 |
}
|
@@ -346,6 +349,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
346 |
$this->set_compiled_html_body( null );
|
347 |
$this->set_needs_compile( false );
|
348 |
$this->set_compiler_version( BRIZY_EDITOR_VERSION );
|
|
|
349 |
$this->setCompiledScripts( $compiledData['pageScripts'] );
|
350 |
$this->setCompiledStyles( $compiledData['pageStyles'] );
|
351 |
|
@@ -556,6 +560,8 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
556 |
update_metadata( 'post', $this->getWpPostId(), self::BRIZY_POST_PLUGIN_VERSION, $plugin_version );
|
557 |
}
|
558 |
|
|
|
|
|
559 |
/**
|
560 |
* @param $v
|
561 |
*
|
@@ -580,15 +586,16 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
580 |
*/
|
581 |
public function get_compiled_page() {
|
582 |
|
583 |
-
if ( isset(self::$compiled_page[$this->getWpPostId()]) ) {
|
584 |
-
return self::$compiled_page[$this->getWpPostId()];
|
585 |
}
|
586 |
|
587 |
-
return self::$compiled_page[$this->getWpPostId()] = new Brizy_Editor_CompiledHtml( $this->get_compiled_html() );
|
588 |
}
|
589 |
|
590 |
public function isCompiledWithCurrentVersion() {
|
591 |
-
|
|
|
592 |
}
|
593 |
|
594 |
/**
|
@@ -647,6 +654,24 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
647 |
return $this->compiler_version;
|
648 |
}
|
649 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
650 |
/**
|
651 |
* @return string
|
652 |
*/
|
@@ -655,11 +680,11 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
655 |
}
|
656 |
|
657 |
/**
|
658 |
-
* @deprecated Use getEditUrl()
|
659 |
* @return string
|
|
|
660 |
*/
|
661 |
public function edit_url() {
|
662 |
-
return self::getEditUrl($this->getWpPostId());
|
663 |
}
|
664 |
|
665 |
/**
|
@@ -678,7 +703,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
678 |
// get the storage values
|
679 |
$storage = $this->getStorage();
|
680 |
//$storageData = $storage->get_storage();
|
681 |
-
$storage_post
|
682 |
|
683 |
// check for deprecated forms of posts
|
684 |
if ( $storage_post instanceof self ) {
|
@@ -697,12 +722,14 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
697 |
$this->setCompiledStyles( $storage_post['compiled_styles'] );
|
698 |
}
|
699 |
|
|
|
700 |
$data_needs_compile = isset( $storage_post['needs_compile'] ) ? $storage_post['needs_compile'] : true;
|
701 |
$this->set_editor_data( $storage_post['editor_data'] );
|
702 |
$this->set_needs_compile( metadata_exists( 'post', $this->getWpPostId(), self::BRIZY_POST_NEEDS_COMPILE_KEY ) ? (bool) get_post_meta( $this->getWpPostId(), self::BRIZY_POST_NEEDS_COMPILE_KEY, true ) : $data_needs_compile );
|
703 |
$this->set_editor_version( isset( $storage_post['editor_version'] ) ? $storage_post['editor_version'] : BRIZY_EDITOR_VERSION );
|
704 |
$this->set_compiler_version( isset( $storage_post['compiler_version'] ) ? $storage_post['compiler_version'] : BRIZY_EDITOR_VERSION );
|
705 |
$this->set_plugin_version( isset( $storage_post['plugin_version'] ) ? $storage_post['plugin_version'] : BRIZY_VERSION );
|
|
|
706 |
$this->compiled_html_head = isset( $storage_post['compiled_html_head'] ) ? $storage_post['compiled_html_head'] : null;
|
707 |
$this->compiled_html_body = isset( $storage_post['compiled_html_body'] ) ? $storage_post['compiled_html_body'] : null;
|
708 |
}
|
@@ -717,7 +744,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
717 |
$autosave->set_template( $this->get_template() );
|
718 |
$autosave->set_editor_data( $this->get_editor_data() );
|
719 |
$autosave->set_editor_version( $this->get_editor_version() );
|
720 |
-
$autosave->set_needs_compile(true);
|
721 |
|
722 |
return $autosave;
|
723 |
}
|
@@ -730,7 +757,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
730 |
$postLabel = $wp_post_types[ $postType ]->label;
|
731 |
|
732 |
// not sure iw we will have this case :D
|
733 |
-
if ( is_array($excludePostType) && in_array( $postType, $excludePostType ) ) {
|
734 |
return [];
|
735 |
}
|
736 |
|
@@ -758,13 +785,14 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
|
|
758 |
SQL;
|
759 |
$posts = $wpdb->get_results( $wpdb->prepare( $query, $postType, $postLabel, $postType, $offset, $limit ) );
|
760 |
|
761 |
-
foreach($posts as $i
|
762 |
-
$postTitle
|
763 |
$p->post_title = $postTitle;
|
764 |
-
$p->title
|
765 |
-
$p->uid
|
766 |
-
$p->ID
|
767 |
}
|
|
|
768 |
return $posts;
|
769 |
}
|
770 |
|
69 |
*/
|
70 |
protected $compiler_version;
|
71 |
|
72 |
+
/**
|
73 |
+
* @var string
|
74 |
+
*/
|
75 |
+
protected $pro_plugin_version;
|
76 |
+
|
77 |
/**
|
78 |
* @var string
|
79 |
*/
|
201 |
'editor_version' => $this->editor_version,
|
202 |
'compiler_version' => $this->compiler_version,
|
203 |
'plugin_version' => $this->plugin_version,
|
204 |
+
'pro_plugin_version' => $this->pro_plugin_version,
|
205 |
'editor_data' => $this->editor_data,
|
206 |
Brizy_Editor_Constants::USES_BRIZY => $this->uses_editor()
|
207 |
);
|
229 |
$post_type = $this->getWpPost()->post_type;
|
230 |
$post_type_object = get_post_type_object( $post_type );
|
231 |
$content = $this->getWpPost()->post_content;
|
232 |
+
$content = strpos( $content, 'brz-root__container' ) ? preg_replace( '/<!-- version:\d+ -->/', '', $content ) : $emptyContent;
|
233 |
|
234 |
$params = [
|
235 |
'ID' => $this->getWpPostId(),
|
249 |
|
250 |
$context = new Brizy_Content_Context( Brizy_Editor_Project::get(), null, $this->getWpPost(), null );
|
251 |
$placeholderProvider = new Brizy_Content_PlaceholderWpProvider( $context );
|
252 |
+
$context->setProvider( $placeholderProvider );
|
253 |
+
$extractor = new \BrizyPlaceholders\Extractor( $placeholderProvider );
|
254 |
|
255 |
+
list( $placeholders, $placeholderInstances, $content ) = $extractor->extract( $content );
|
256 |
|
257 |
+
$replacer = new \BrizyPlaceholders\Replacer( $placeholderProvider );
|
258 |
+
$content = $replacer->replaceWithExtractedData( $placeholders, $placeholderInstances, $content, $context );
|
259 |
|
260 |
+
$content = $extractor->stripPlaceholders( $content );
|
261 |
+
$content = apply_filters( 'brizy_content', $content, Brizy_Editor_Project::get(), $this->getWpPost() );
|
262 |
|
263 |
$wpdb->update(
|
264 |
$wpdb->posts,
|
309 |
continue;
|
310 |
}
|
311 |
if ( $k == 'main' ) {
|
312 |
+
if ( isset( $compiledData['pageScripts'][ $i ][ $k ]['content']['url'] ) ) {
|
313 |
+
$compiledData['pageScripts'][ $i ][ $k ]['content']['url'] = Brizy_SiteUrlReplacer::hideSiteUrl( $compiledData['pageScripts'][ $i ][ $k ]['content']['url'] );
|
314 |
+
continue;
|
315 |
+
}
|
316 |
}
|
317 |
|
318 |
foreach ( $scripts as $l => $script ) {
|
319 |
+
if ( isset( $compiledData['pageScripts'][ $i ][ $k ][ $l ]['content']['url'] ) ) {
|
320 |
+
$compiledData['pageScripts'][ $i ][ $k ][ $l ]['content']['url'] = Brizy_SiteUrlReplacer::hideSiteUrl( $script['content']['url'] );
|
321 |
+
}
|
|
|
322 |
}
|
323 |
|
324 |
}
|
329 |
continue;
|
330 |
}
|
331 |
if ( $k == 'main' ) {
|
332 |
+
if ( isset( $compiledData['pageStyles'][ $i ][ $k ]['content']['url'] ) ) {
|
333 |
+
$compiledData['pageStyles'][ $i ][ $k ]['content']['url'] = Brizy_SiteUrlReplacer::hideSiteUrl( $compiledData['pageStyles'][ $i ][ $k ]['content']['url'] );
|
334 |
+
}
|
|
|
335 |
continue;
|
336 |
}
|
337 |
foreach ( $styles as $l => $style ) {
|
338 |
+
if ( isset( $compiledData['pageStyles'][ $i ][ $k ][ $l ]['content']['url'] ) ) {
|
339 |
+
$compiledData['pageStyles'][ $i ][ $k ][ $l ]['content']['url'] = Brizy_SiteUrlReplacer::hideSiteUrl(
|
340 |
+
$style['content']['url']
|
341 |
+
);
|
342 |
+
}
|
|
|
343 |
}
|
344 |
}
|
345 |
}
|
349 |
$this->set_compiled_html_body( null );
|
350 |
$this->set_needs_compile( false );
|
351 |
$this->set_compiler_version( BRIZY_EDITOR_VERSION );
|
352 |
+
$this->set_pro_plugin_version( defined( 'BRIZY_PRO_VERSION' ) ? BRIZY_PRO_VERSION : null );
|
353 |
$this->setCompiledScripts( $compiledData['pageScripts'] );
|
354 |
$this->setCompiledStyles( $compiledData['pageStyles'] );
|
355 |
|
560 |
update_metadata( 'post', $this->getWpPostId(), self::BRIZY_POST_PLUGIN_VERSION, $plugin_version );
|
561 |
}
|
562 |
|
563 |
+
|
564 |
+
|
565 |
/**
|
566 |
* @param $v
|
567 |
*
|
586 |
*/
|
587 |
public function get_compiled_page() {
|
588 |
|
589 |
+
if ( isset( self::$compiled_page[ $this->getWpPostId() ] ) ) {
|
590 |
+
return self::$compiled_page[ $this->getWpPostId() ];
|
591 |
}
|
592 |
|
593 |
+
return self::$compiled_page[ $this->getWpPostId() ] = new Brizy_Editor_CompiledHtml( $this->get_compiled_html() );
|
594 |
}
|
595 |
|
596 |
public function isCompiledWithCurrentVersion() {
|
597 |
+
$proVersion = defined( 'BRIZY_PRO_VERSION' ) ? BRIZY_PRO_VERSION : null;
|
598 |
+
return $this->get_compiler_version() === BRIZY_EDITOR_VERSION && $this->get_pro_plugin_version()===$proVersion;
|
599 |
}
|
600 |
|
601 |
/**
|
654 |
return $this->compiler_version;
|
655 |
}
|
656 |
|
657 |
+
/**
|
658 |
+
* @return string
|
659 |
+
*/
|
660 |
+
public function get_pro_plugin_version() {
|
661 |
+
return $this->pro_plugin_version;
|
662 |
+
}
|
663 |
+
|
664 |
+
/**
|
665 |
+
* @param string $pro_plugin_version
|
666 |
+
*
|
667 |
+
* @return Brizy_Editor_Post
|
668 |
+
*/
|
669 |
+
public function set_pro_plugin_version( $pro_plugin_version ) {
|
670 |
+
$this->pro_plugin_version = $pro_plugin_version;
|
671 |
+
|
672 |
+
return $this;
|
673 |
+
}
|
674 |
+
|
675 |
/**
|
676 |
* @return string
|
677 |
*/
|
680 |
}
|
681 |
|
682 |
/**
|
|
|
683 |
* @return string
|
684 |
+
* @deprecated Use getEditUrl()
|
685 |
*/
|
686 |
public function edit_url() {
|
687 |
+
return self::getEditUrl( $this->getWpPostId() );
|
688 |
}
|
689 |
|
690 |
/**
|
703 |
// get the storage values
|
704 |
$storage = $this->getStorage();
|
705 |
//$storageData = $storage->get_storage();
|
706 |
+
$storage_post = $storage->get( $this->getObjectKey(), false );
|
707 |
|
708 |
// check for deprecated forms of posts
|
709 |
if ( $storage_post instanceof self ) {
|
722 |
$this->setCompiledStyles( $storage_post['compiled_styles'] );
|
723 |
}
|
724 |
|
725 |
+
$proVersion = defined( 'BRIZY_PRO_VERSION' ) ? BRIZY_PRO_VERSION : null;
|
726 |
$data_needs_compile = isset( $storage_post['needs_compile'] ) ? $storage_post['needs_compile'] : true;
|
727 |
$this->set_editor_data( $storage_post['editor_data'] );
|
728 |
$this->set_needs_compile( metadata_exists( 'post', $this->getWpPostId(), self::BRIZY_POST_NEEDS_COMPILE_KEY ) ? (bool) get_post_meta( $this->getWpPostId(), self::BRIZY_POST_NEEDS_COMPILE_KEY, true ) : $data_needs_compile );
|
729 |
$this->set_editor_version( isset( $storage_post['editor_version'] ) ? $storage_post['editor_version'] : BRIZY_EDITOR_VERSION );
|
730 |
$this->set_compiler_version( isset( $storage_post['compiler_version'] ) ? $storage_post['compiler_version'] : BRIZY_EDITOR_VERSION );
|
731 |
$this->set_plugin_version( isset( $storage_post['plugin_version'] ) ? $storage_post['plugin_version'] : BRIZY_VERSION );
|
732 |
+
$this->set_pro_plugin_version( isset( $storage_post['pro_plugin_version'] ) ? $storage_post['pro_plugin_version'] : null );
|
733 |
$this->compiled_html_head = isset( $storage_post['compiled_html_head'] ) ? $storage_post['compiled_html_head'] : null;
|
734 |
$this->compiled_html_body = isset( $storage_post['compiled_html_body'] ) ? $storage_post['compiled_html_body'] : null;
|
735 |
}
|
744 |
$autosave->set_template( $this->get_template() );
|
745 |
$autosave->set_editor_data( $this->get_editor_data() );
|
746 |
$autosave->set_editor_version( $this->get_editor_version() );
|
747 |
+
$autosave->set_needs_compile( true );
|
748 |
|
749 |
return $autosave;
|
750 |
}
|
757 |
$postLabel = $wp_post_types[ $postType ]->label;
|
758 |
|
759 |
// not sure iw we will have this case :D
|
760 |
+
if ( is_array( $excludePostType ) && in_array( $postType, $excludePostType ) ) {
|
761 |
return [];
|
762 |
}
|
763 |
|
785 |
SQL;
|
786 |
$posts = $wpdb->get_results( $wpdb->prepare( $query, $postType, $postLabel, $postType, $offset, $limit ) );
|
787 |
|
788 |
+
foreach ( $posts as $i => $p ) {
|
789 |
+
$postTitle = apply_filters( 'the_title', $p->post_title );
|
790 |
$p->post_title = $postTitle;
|
791 |
+
$p->title = $postTitle;
|
792 |
+
$p->uid = self::create_uid( $p->ID, $p->uid );
|
793 |
+
$p->ID = (int) $p->ID;
|
794 |
}
|
795 |
+
|
796 |
return $posts;
|
797 |
}
|
798 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: page builder, website builder, brizy, editor, visual editor, unyson, wysiw
|
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -133,6 +133,9 @@ Don't worry if you make a mistake or delete something that you shouldn't have. W
|
|
133 |
|
134 |
== Changelog ==
|
135 |
|
|
|
|
|
|
|
136 |
= 2.3.10 - 2021-08-17 =
|
137 |
* Fixed: Dash separated value name for custom attributes
|
138 |
* Fixed: Cache assets on Brizy websites
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 2.3.11
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
133 |
|
134 |
== Changelog ==
|
135 |
|
136 |
+
= 2.3.11 - 2021-08-18 =
|
137 |
+
* Fixed: Recompile pages when the Pro plugin is upgraded or disabled
|
138 |
+
|
139 |
= 2.3.10 - 2021-08-17 =
|
140 |
* Fixed: Dash separated value name for custom attributes
|
141 |
* Fixed: Cache assets on Brizy websites
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit8ea2eae86decbfdbe1d1a77697930987::getLoader();
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -30,7 +30,7 @@ private static $installed = array (
|
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
-
'reference' => '
|
34 |
'name' => 'brizy/brizy',
|
35 |
),
|
36 |
'versions' =>
|
@@ -70,7 +70,7 @@ private static $installed = array (
|
|
70 |
'aliases' =>
|
71 |
array (
|
72 |
),
|
73 |
-
'reference' => '
|
74 |
),
|
75 |
'enshrined/svg-sanitize' =>
|
76 |
array (
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
+
'reference' => '26df1e029788d6ab9c39942e66a1a4f92939504f',
|
34 |
'name' => 'brizy/brizy',
|
35 |
),
|
36 |
'versions' =>
|
70 |
'aliases' =>
|
71 |
array (
|
72 |
),
|
73 |
+
'reference' => '26df1e029788d6ab9c39942e66a1a4f92939504f',
|
74 |
),
|
75 |
'enshrined/svg-sanitize' =>
|
76 |
array (
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit0e006a1efe502021674b49c4827afd83
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit0e006a1efe502021674b49c4827afd83
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit8ea2eae86decbfdbe1d1a77697930987
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit8ea2eae86decbfdbe1d1a77697930987', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit8ea2eae86decbfdbe1d1a77697930987', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire8ea2eae86decbfdbe1d1a77697930987($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire8ea2eae86decbfdbe1d1a77697930987($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
|
@@ -126,10 +126,10 @@ class ComposerStaticInit0e006a1efe502021674b49c4827afd83
|
|
126 |
public static function getInitializer(ClassLoader $loader)
|
127 |
{
|
128 |
return \Closure::bind(function () use ($loader) {
|
129 |
-
$loader->prefixLengthsPsr4 =
|
130 |
-
$loader->prefixDirsPsr4 =
|
131 |
-
$loader->prefixesPsr0 =
|
132 |
-
$loader->classMap =
|
133 |
|
134 |
}, null, ClassLoader::class);
|
135 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
|
126 |
public static function getInitializer(ClassLoader $loader)
|
127 |
{
|
128 |
return \Closure::bind(function () use ($loader) {
|
129 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::$prefixLengthsPsr4;
|
130 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::$prefixDirsPsr4;
|
131 |
+
$loader->prefixesPsr0 = ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::$prefixesPsr0;
|
132 |
+
$loader->classMap = ComposerStaticInit8ea2eae86decbfdbe1d1a77697930987::$classMap;
|
133 |
|
134 |
}, null, ClassLoader::class);
|
135 |
}
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => 'brizy/brizy',
|
11 |
),
|
12 |
'versions' =>
|
@@ -46,7 +46,7 @@
|
|
46 |
'aliases' =>
|
47 |
array (
|
48 |
),
|
49 |
-
'reference' => '
|
50 |
),
|
51 |
'enshrined/svg-sanitize' =>
|
52 |
array (
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => '26df1e029788d6ab9c39942e66a1a4f92939504f',
|
10 |
'name' => 'brizy/brizy',
|
11 |
),
|
12 |
'versions' =>
|
46 |
'aliases' =>
|
47 |
array (
|
48 |
),
|
49 |
+
'reference' => '26df1e029788d6ab9c39942e66a1a4f92939504f',
|
50 |
),
|
51 |
'enshrined/svg-sanitize' =>
|
52 |
array (
|