Version Description
- 2022-09-28 =
- Fixed: The crash when the WooComerce plugin is disabled.
Download this release
Release Info
Developer | themefusecom |
Plugin | Brizy – Page Builder |
Version | 2.4.8 |
Comparing to | |
See all releases |
Code changes from version 2.4.7 to 2.4.8
- README.md +4 -1
- admin/rules/manager.php +0 -2
- brizy.php +2 -2
- editor/api.php +4 -4
- 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: 6.0.2<br>
|
5 |
Requires PHP: 5.6.20<br>
|
6 |
-
Stable tag: 2.4.
|
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.4.7 - 2022-09-28
|
122 |
* Improved: Get fonts from https://fonts.bunny.net instead of https://fonts.googleapis.com to address GDPR font issues
|
123 |
* Improved: Saved blocks pagination 50 blocks
|
3 |
Requires at least: 4.5<br>
|
4 |
Tested up to: 6.0.2<br>
|
5 |
Requires PHP: 5.6.20<br>
|
6 |
+
Stable tag: 2.4.8<br>
|
7 |
License: GPLv3<br>
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
118 |
|
119 |
## Changelog
|
120 |
|
121 |
+
### 2.4.8 - 2022-09-28
|
122 |
+
* Fixed: The crash when the WooComerce plugin is disabled.
|
123 |
+
|
124 |
### 2.4.7 - 2022-09-28
|
125 |
* Improved: Get fonts from https://fonts.bunny.net instead of https://fonts.googleapis.com to address GDPR font issues
|
126 |
* Improved: Saved blocks pagination 50 blocks
|
admin/rules/manager.php
CHANGED
@@ -19,8 +19,6 @@ class Brizy_Admin_Rules_Manager
|
|
19 |
$entityType = null;
|
20 |
$entityValues = array();
|
21 |
|
22 |
-
$is_shop = is_page(wc_get_page_id('shop'));
|
23 |
-
$is_shop = is_shop();
|
24 |
if (is_404()) {
|
25 |
$applyFor = Brizy_Admin_Rule::TEMPLATE;
|
26 |
$entityType = '404';
|
19 |
$entityType = null;
|
20 |
$entityValues = array();
|
21 |
|
|
|
|
|
22 |
if (is_404()) {
|
23 |
$applyFor = Brizy_Admin_Rule::TEMPLATE;
|
24 |
$entityType = '404';
|
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.4.
|
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.4.
|
23 |
define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.0' );
|
24 |
define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '244-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '244' );
|
5 |
* Plugin URI: https://brizy.io/
|
6 |
* Author: Brizy.io
|
7 |
* Author URI: https://brizy.io/
|
8 |
+
* Version: 2.4.8
|
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.4.8' );
|
23 |
define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.0' );
|
24 |
define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '244-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '244' );
|
editor/api.php
CHANGED
@@ -669,10 +669,10 @@ class Brizy_Editor_API extends Brizy_Admin_AbstractApi
|
|
669 |
|
670 |
case Brizy_Admin_Rule::WOO_SHOP_PAGE :
|
671 |
$wp_query = new WP_Query(['post_type' => 'product', 'fields' => 'ids']);
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
case Brizy_Admin_Rule::ARCHIVE :
|
677 |
if ($rule->getEntityType() == 'product') {
|
678 |
$wp_query = new WP_Query(['post_type' => 'product', 'fields' => 'ids']);
|
669 |
|
670 |
case Brizy_Admin_Rule::WOO_SHOP_PAGE :
|
671 |
$wp_query = new WP_Query(['post_type' => 'product', 'fields' => 'ids']);
|
672 |
+
if (function_exists('wc_get_page_id') && wc_get_page_id('shop')) {
|
673 |
+
return get_post(wc_get_page_id('shop'));
|
674 |
+
}
|
675 |
+
break;
|
676 |
case Brizy_Admin_Rule::ARCHIVE :
|
677 |
if ($rule->getEntityType() == 'product') {
|
678 |
$wp_query = new WP_Query(['post_type' => 'product', 'fields' => 'ids']);
|
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: 6.0.2
|
6 |
Requires PHP: 5.6.20
|
7 |
-
Stable tag: 2.4.
|
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.4.7 - 2022-09-28 =
|
137 |
* Improved: Get fonts from https://fonts.bunny.net instead of https://fonts.googleapis.com to address GDPR font issues
|
138 |
* Improved: Saved blocks pagination 50 blocks
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 6.0.2
|
6 |
Requires PHP: 5.6.20
|
7 |
+
Stable tag: 2.4.8
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
133 |
|
134 |
== Changelog ==
|
135 |
|
136 |
+
= 2.4.8 - 2022-09-28 =
|
137 |
+
* Fixed: The crash when the WooComerce plugin is disabled.
|
138 |
+
|
139 |
= 2.4.7 - 2022-09-28 =
|
140 |
* Improved: Get fonts from https://fonts.bunny.net instead of https://fonts.googleapis.com to address GDPR font issues
|
141 |
* Improved: Saved blocks pagination 50 blocks
|
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 ComposerAutoloaderInit29663397063485296a3f44ca603fbacf::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' => '71fb6cdf0a115facfbbee5665fbc1decc5306807',
|
34 |
'name' => 'brizy/brizy',
|
35 |
),
|
36 |
'versions' =>
|
70 |
'aliases' =>
|
71 |
array (
|
72 |
),
|
73 |
+
'reference' => '71fb6cdf0a115facfbbee5665fbc1decc5306807',
|
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 ComposerAutoloaderInit92980f6d0d62bb70e16ecbcff215553f
|
|
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 ComposerAutoloaderInit92980f6d0d62bb70e16ecbcff215553f
|
|
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 ComposerAutoloaderInit29663397063485296a3f44ca603fbacf
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit29663397063485296a3f44ca603fbacf', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit29663397063485296a3f44ca603fbacf', '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\ComposerStaticInit29663397063485296a3f44ca603fbacf::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\ComposerStaticInit29663397063485296a3f44ca603fbacf::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire29663397063485296a3f44ca603fbacf($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire29663397063485296a3f44ca603fbacf($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 |
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
@@ -125,10 +125,10 @@ class ComposerStaticInit92980f6d0d62bb70e16ecbcff215553f
|
|
125 |
public static function getInitializer(ClassLoader $loader)
|
126 |
{
|
127 |
return \Closure::bind(function () use ($loader) {
|
128 |
-
$loader->prefixLengthsPsr4 =
|
129 |
-
$loader->prefixDirsPsr4 =
|
130 |
-
$loader->prefixesPsr0 =
|
131 |
-
$loader->classMap =
|
132 |
|
133 |
}, null, ClassLoader::class);
|
134 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit29663397063485296a3f44ca603fbacf
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
125 |
public static function getInitializer(ClassLoader $loader)
|
126 |
{
|
127 |
return \Closure::bind(function () use ($loader) {
|
128 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit29663397063485296a3f44ca603fbacf::$prefixLengthsPsr4;
|
129 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit29663397063485296a3f44ca603fbacf::$prefixDirsPsr4;
|
130 |
+
$loader->prefixesPsr0 = ComposerStaticInit29663397063485296a3f44ca603fbacf::$prefixesPsr0;
|
131 |
+
$loader->classMap = ComposerStaticInit29663397063485296a3f44ca603fbacf::$classMap;
|
132 |
|
133 |
}, null, ClassLoader::class);
|
134 |
}
|
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' => '71fb6cdf0a115facfbbee5665fbc1decc5306807',
|
10 |
'name' => 'brizy/brizy',
|
11 |
),
|
12 |
'versions' =>
|
46 |
'aliases' =>
|
47 |
array (
|
48 |
),
|
49 |
+
'reference' => '71fb6cdf0a115facfbbee5665fbc1decc5306807',
|
50 |
),
|
51 |
'enshrined/svg-sanitize' =>
|
52 |
array (
|