Version Description
Download this release
Release Info
Developer | pross |
Plugin | WordPress Page Builder – Beaver Builder |
Version | 1.10.6.4 |
Comparing to | |
See all releases |
Code changes from version 1.10.6.3 to 1.10.6.4
- changelog.txt +5 -0
- classes/class-fl-builder-loader.php +1 -1
- classes/class-fl-builder-loop.php +1 -0
- fl-builder.php +1 -1
- includes/updater-config.php +1 -1
changelog.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<h4>1.10.6.3 7/05/2017</h4>
|
2 |
<p><strong>Bug Fixes</strong></p>
|
3 |
<ul>
|
1 |
+
<h4>1.10.6.4 7/28/2017</h4>
|
2 |
+
<p><strong>Bug Fixes</strong></p>
|
3 |
+
<ul>
|
4 |
+
<li>Fixed PHP error produced by canonical redirection if the post_type is changed to an array by a plugin.</li>
|
5 |
+
</ul>
|
6 |
<h4>1.10.6.3 7/05/2017</h4>
|
7 |
<p><strong>Bug Fixes</strong></p>
|
8 |
<ul>
|
classes/class-fl-builder-loader.php
CHANGED
@@ -45,7 +45,7 @@ if ( ! class_exists( 'FLBuilderLoader' ) ) {
|
|
45 |
*/
|
46 |
static private function define_constants()
|
47 |
{
|
48 |
-
define('FL_BUILDER_VERSION', '1.10.6.
|
49 |
define('FL_BUILDER_FILE', trailingslashit(dirname(dirname(__FILE__))) . 'fl-builder.php');
|
50 |
define('FL_BUILDER_DIR', plugin_dir_path(FL_BUILDER_FILE));
|
51 |
define('FL_BUILDER_URL', plugins_url('/', FL_BUILDER_FILE));
|
45 |
*/
|
46 |
static private function define_constants()
|
47 |
{
|
48 |
+
define('FL_BUILDER_VERSION', '1.10.6.4');
|
49 |
define('FL_BUILDER_FILE', trailingslashit(dirname(dirname(__FILE__))) . 'fl-builder.php');
|
50 |
define('FL_BUILDER_DIR', plugin_dir_path(FL_BUILDER_FILE));
|
51 |
define('FL_BUILDER_URL', plugins_url('/', FL_BUILDER_FILE));
|
classes/class-fl-builder-loop.php
CHANGED
@@ -272,6 +272,7 @@ final class FLBuilderLoop {
|
|
272 |
|
273 |
// Disable canonical on CPT single
|
274 |
if ( isset( $wp_the_query->query_vars['post_type'] )
|
|
|
275 |
&& isset( $supported_post_types[ $wp_the_query->query_vars['post_type'] ] )
|
276 |
&& true === $wp_the_query->is_singular
|
277 |
&& - 1 == $wp_the_query->current_post
|
272 |
|
273 |
// Disable canonical on CPT single
|
274 |
if ( isset( $wp_the_query->query_vars['post_type'] )
|
275 |
+
&& ! is_array( $wp_the_query->query_vars['post_type'] )
|
276 |
&& isset( $supported_post_types[ $wp_the_query->query_vars['post_type'] ] )
|
277 |
&& true === $wp_the_query->is_singular
|
278 |
&& - 1 == $wp_the_query->current_post
|
fl-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Beaver Builder Plugin (Lite Version)
|
4 |
* Plugin URI: https://www.wpbeaverbuilder.com/?utm_medium=bb&utm_source=plugins-admin-page&utm_campaign=plugins-admin-uri
|
5 |
* Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
|
6 |
-
* Version: 1.10.6.
|
7 |
* Author: The Beaver Builder Team
|
8 |
* Author URI: https://www.wpbeaverbuilder.com/?utm_medium=bb&utm_source=plugins-admin-page&utm_campaign=plugins-admin-author
|
9 |
* Copyright: (c) 2014 Beaver Builder
|
3 |
* Plugin Name: Beaver Builder Plugin (Lite Version)
|
4 |
* Plugin URI: https://www.wpbeaverbuilder.com/?utm_medium=bb&utm_source=plugins-admin-page&utm_campaign=plugins-admin-uri
|
5 |
* Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
|
6 |
+
* Version: 1.10.6.4
|
7 |
* Author: The Beaver Builder Team
|
8 |
* Author URI: https://www.wpbeaverbuilder.com/?utm_medium=bb&utm_source=plugins-admin-page&utm_campaign=plugins-admin-author
|
9 |
* Copyright: (c) 2014 Beaver Builder
|
includes/updater-config.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
if(class_exists('FLUpdater')) {
|
4 |
FLUpdater::add_product(array(
|
5 |
'name' => 'Beaver Builder Plugin (Lite Version)',
|
6 |
-
'version' => '1.10.6.
|
7 |
'slug' => 'bb-plugin',
|
8 |
'type' => 'plugin'
|
9 |
));
|
3 |
if(class_exists('FLUpdater')) {
|
4 |
FLUpdater::add_product(array(
|
5 |
'name' => 'Beaver Builder Plugin (Lite Version)',
|
6 |
+
'version' => '1.10.6.4',
|
7 |
'slug' => 'bb-plugin',
|
8 |
'type' => 'plugin'
|
9 |
));
|