Version Description
- 2021-09-09 =
- Fixed: Broken home page url
- Fixed: Asset manager for pages that contains popups
Download this release
Release Info
Developer | themefusecom |
Plugin | Brizy – Page Builder |
Version | 2.3.15 |
Comparing to | |
See all releases |
Code changes from version 2.3.14 to 2.3.15
- README.md +6 -2
- brizy.php +2 -2
- editor/user.php +1 -1
- public/asset-enqueue-manager.php +8 -4
- readme.txt +6 -2
- site-url-replacer.php +6 -4
- 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
@@ -1,9 +1,9 @@
|
|
1 |
# Brizy - Page Builder
|
2 |
Contributors: themefuse<br>
|
3 |
Requires at least: 4.5<br>
|
4 |
-
Tested up to: 5.8<br>
|
5 |
Requires PHP: 5.6.20<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,10 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
|
|
118 |
|
119 |
## Changelog
|
120 |
|
|
|
|
|
|
|
|
|
121 |
### 2.3.14 - 2021-09-06
|
122 |
* Fixed: Icons in the Tabs element
|
123 |
* Fixed: Cover images for the Video element
|
1 |
# Brizy - Page Builder
|
2 |
Contributors: themefuse<br>
|
3 |
Requires at least: 4.5<br>
|
4 |
+
Tested up to: 5.8.1<br>
|
5 |
Requires PHP: 5.6.20<br>
|
6 |
+
Stable tag: 2.3.15<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.15 - 2021-09-09
|
122 |
+
* Fixed: Broken home page url
|
123 |
+
* Fixed: Asset manager for pages that contains popups
|
124 |
+
|
125 |
### 2.3.14 - 2021-09-06
|
126 |
* Fixed: Icons in the Tabs element
|
127 |
* Fixed: Cover images for the Video element
|
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' : '203-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '203' );
|
5 |
* Plugin URI: https://brizy.io/
|
6 |
* Author: Brizy.io
|
7 |
* Author URI: https://brizy.io/
|
8 |
+
* Version: 2.3.15
|
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.15' );
|
23 |
define( 'BRIZY_MINIMUM_PRO_VERSION', '2.3.0' );
|
24 |
define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '203-wp' );
|
25 |
define( 'BRIZY_SYNC_VERSION', '203' );
|
editor/user.php
CHANGED
@@ -104,7 +104,7 @@ class Brizy_Editor_User {
|
|
104 |
* @param Brizy_Editor_Project $project
|
105 |
* @param Brizy_Editor_Post $post
|
106 |
*
|
107 |
-
* @return
|
108 |
* @throws Brizy_Editor_API_Exceptions_Exception
|
109 |
* @throws Brizy_Editor_Http_Exceptions_BadRequest
|
110 |
* @throws Brizy_Editor_Http_Exceptions_ResponseException
|
104 |
* @param Brizy_Editor_Project $project
|
105 |
* @param Brizy_Editor_Post $post
|
106 |
*
|
107 |
+
* @return array
|
108 |
* @throws Brizy_Editor_API_Exceptions_Exception
|
109 |
* @throws Brizy_Editor_Http_Exceptions_BadRequest
|
110 |
* @throws Brizy_Editor_Http_Exceptions_ResponseException
|
public/asset-enqueue-manager.php
CHANGED
@@ -111,11 +111,13 @@ class Brizy_Public_AssetEnqueueManager {
|
|
111 |
$this->replacePlaceholders( $ourGroup, $editorPost->getWpPost(), 'head' );
|
112 |
}
|
113 |
|
114 |
-
$
|
115 |
|
116 |
-
foreach ( $
|
117 |
$this->replacePlaceholders( $otherGroup, $editorPost->getWpPost(), 'body' );
|
118 |
}
|
|
|
|
|
119 |
}
|
120 |
|
121 |
$assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
|
@@ -140,11 +142,13 @@ class Brizy_Public_AssetEnqueueManager {
|
|
140 |
$this->replacePlaceholders( $ourGroup, $editorPost->getWpPost(), 'body' );
|
141 |
}
|
142 |
|
143 |
-
$
|
144 |
|
145 |
-
foreach ( $
|
146 |
$this->replacePlaceholders( $otherGroup, $editorPost->getWpPost(), 'body' );
|
147 |
}
|
|
|
|
|
148 |
}
|
149 |
|
150 |
$assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
|
111 |
$this->replacePlaceholders( $ourGroup, $editorPost->getWpPost(), 'head' );
|
112 |
}
|
113 |
|
114 |
+
$_others = apply_filters( 'brizy_pro_head_assets', [], $editorPost );
|
115 |
|
116 |
+
foreach ( $_others as &$otherGroup ) {
|
117 |
$this->replacePlaceholders( $otherGroup, $editorPost->getWpPost(), 'body' );
|
118 |
}
|
119 |
+
|
120 |
+
$others = array_merge($others,$_others);
|
121 |
}
|
122 |
|
123 |
$assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
|
142 |
$this->replacePlaceholders( $ourGroup, $editorPost->getWpPost(), 'body' );
|
143 |
}
|
144 |
|
145 |
+
$_others = apply_filters( 'brizy_pro_body_assets', [], $editorPost );
|
146 |
|
147 |
+
foreach ( $_others as &$otherGroup ) {
|
148 |
$this->replacePlaceholders( $otherGroup, $editorPost->getWpPost(), 'body' );
|
149 |
}
|
150 |
+
|
151 |
+
$others = array_merge($others,$_others);
|
152 |
}
|
153 |
|
154 |
$assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: themefuse
|
3 |
Tags: page builder, website builder, brizy, editor, visual editor, unyson, wysiwyg, landing page, drag-and-drop, design, landing page builder, front-end builder
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 5.8
|
6 |
Requires PHP: 5.6.20
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -133,6 +133,10 @@ Don't worry if you make a mistake or delete something that you shouldn't have. W
|
|
133 |
|
134 |
== Changelog ==
|
135 |
|
|
|
|
|
|
|
|
|
136 |
= 2.3.14 - 2021-09-06 =
|
137 |
* Fixed: Icons in the Tabs element
|
138 |
* Fixed: Cover images for the Video element
|
2 |
Contributors: themefuse
|
3 |
Tags: page builder, website builder, brizy, editor, visual editor, unyson, wysiwyg, landing page, drag-and-drop, design, landing page builder, front-end builder
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 5.8.1
|
6 |
Requires PHP: 5.6.20
|
7 |
+
Stable tag: 2.3.15
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
133 |
|
134 |
== Changelog ==
|
135 |
|
136 |
+
= 2.3.15 - 2021-09-09 =
|
137 |
+
* Fixed: Broken home page url
|
138 |
+
* Fixed: Asset manager for pages that contains popups
|
139 |
+
|
140 |
= 2.3.14 - 2021-09-06 =
|
141 |
* Fixed: Icons in the Tabs element
|
142 |
* Fixed: Cover images for the Video element
|
site-url-replacer.php
CHANGED
@@ -8,11 +8,13 @@ class Brizy_SiteUrlReplacer {
|
|
8 |
$url = home_url();
|
9 |
}
|
10 |
|
11 |
-
$pattern = str_replace(
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
}
|
17 |
|
18 |
static public function restoreSiteUrl( $content, $url = null ) {
|
8 |
$url = home_url();
|
9 |
}
|
10 |
|
11 |
+
$pattern = str_replace( [ 'https://', 'http://', 'www.', '/', '.' ], [ '', '', '', '\/', '\.' ], $url );
|
12 |
|
13 |
+
// http://brizy.local/my-post/
|
14 |
+
// https://brizy.local/my-post/
|
15 |
+
// http://www.brizy.local/my-post/
|
16 |
+
// https://www.brizy.local/my-post/
|
17 |
+
return preg_replace( "/(http|https)(:\/\/)(www.)?({$pattern})/i", Brizy_Config::SITE_URL_PLACEHOLDER, $content );
|
18 |
}
|
19 |
|
20 |
static public function restoreSiteUrl( $content, $url = null ) {
|
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 ComposerAutoloaderInitd00927f52a07568267163b4197186fe2::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' => 'd9e11d657dca79b4561b7f6bcd2fd19de6f929e9',
|
34 |
'name' => 'brizy/brizy',
|
35 |
),
|
36 |
'versions' =>
|
70 |
'aliases' =>
|
71 |
array (
|
72 |
),
|
73 |
+
'reference' => 'd9e11d657dca79b4561b7f6bcd2fd19de6f929e9',
|
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 ComposerAutoloaderInit5c2191c940488bd81d0a06460e18f07e
|
|
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 ComposerAutoloaderInit5c2191c940488bd81d0a06460e18f07e
|
|
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 ComposerAutoloaderInitd00927f52a07568267163b4197186fe2
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitd00927f52a07568267163b4197186fe2', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitd00927f52a07568267163b4197186fe2', '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\ComposerStaticInitd00927f52a07568267163b4197186fe2::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\ComposerStaticInitd00927f52a07568267163b4197186fe2::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequired00927f52a07568267163b4197186fe2($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequired00927f52a07568267163b4197186fe2($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 ComposerStaticInit5c2191c940488bd81d0a06460e18f07e
|
|
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 ComposerStaticInitd00927f52a07568267163b4197186fe2
|
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 = ComposerStaticInitd00927f52a07568267163b4197186fe2::$prefixLengthsPsr4;
|
130 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitd00927f52a07568267163b4197186fe2::$prefixDirsPsr4;
|
131 |
+
$loader->prefixesPsr0 = ComposerStaticInitd00927f52a07568267163b4197186fe2::$prefixesPsr0;
|
132 |
+
$loader->classMap = ComposerStaticInitd00927f52a07568267163b4197186fe2::$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' => 'd9e11d657dca79b4561b7f6bcd2fd19de6f929e9',
|
10 |
'name' => 'brizy/brizy',
|
11 |
),
|
12 |
'versions' =>
|
46 |
'aliases' =>
|
47 |
array (
|
48 |
),
|
49 |
+
'reference' => 'd9e11d657dca79b4561b7f6bcd2fd19de6f929e9',
|
50 |
),
|
51 |
'enshrined/svg-sanitize' =>
|
52 |
array (
|