Version Description
- Fix - Javascript check on conditionals caused by external plugins conflicting in the button editor
Download this release
Release Info
Developer | basszje |
Plugin | WordPress Button Plugin MaxButtons |
Version | 9.4.1 |
Comparing to | |
See all releases |
Code changes from version 9.4 to 9.4.1
- includes/maxbuttons-button.php +0 -3
- js/maxbuttons-admin.js +10 -1
- maxbuttons.php +3 -3
- readme.txt +6 -2
includes/maxbuttons-button.php
CHANGED
@@ -31,8 +31,6 @@ $admin->get_header(array("title" => $page_title, "title_action" => $action) );
|
|
31 |
?>
|
32 |
</div>
|
33 |
|
34 |
-
|
35 |
-
|
36 |
<?php
|
37 |
/** Display admin notices [deprecated]
|
38 |
* @ignore
|
@@ -140,7 +138,6 @@ $admin->get_header(array("title" => $page_title, "title_action" => $action) );
|
|
140 |
<p id='live-preview-screentitle'><?php echo array_pop($titleAr); ?></p>
|
141 |
<p><?php _e('The top is the normal button, the bottom one is the hover.', 'maxbuttons') ?></p>
|
142 |
|
143 |
-
|
144 |
<div class="result ">
|
145 |
<div class='border_wrapper'>
|
146 |
<div class='preview_border_height'><span style="width: <?php echo $height . $h_unit ?>"><?php echo $height . $h_unit ?></span> </div>
|
31 |
?>
|
32 |
</div>
|
33 |
|
|
|
|
|
34 |
<?php
|
35 |
/** Display admin notices [deprecated]
|
36 |
* @ignore
|
138 |
<p id='live-preview-screentitle'><?php echo array_pop($titleAr); ?></p>
|
139 |
<p><?php _e('The top is the normal button, the bottom one is the hover.', 'maxbuttons') ?></p>
|
140 |
|
|
|
141 |
<div class="result ">
|
142 |
<div class='border_wrapper'>
|
143 |
<div class='preview_border_height'><span style="width: <?php echo $height . $h_unit ?>"><?php echo $height . $h_unit ?></span> </div>
|
js/maxbuttons-admin.js
CHANGED
@@ -502,7 +502,16 @@ maxAdmin.prototype.initConditionials = function ()
|
|
502 |
var condition = conditionalField.dataset.has;
|
503 |
var condition_type = 'has';
|
504 |
}
|
505 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
var target = condition.target;
|
507 |
var values = condition.values;
|
508 |
|
502 |
var condition = conditionalField.dataset.has;
|
503 |
var condition_type = 'has';
|
504 |
}
|
505 |
+
|
506 |
+
try
|
507 |
+
{
|
508 |
+
condition = JSON.parse(condition);
|
509 |
+
}
|
510 |
+
catch(errorVar)
|
511 |
+
{
|
512 |
+
console.log('Data show error: ' + errorVar);
|
513 |
+
return;
|
514 |
+
}
|
515 |
var target = condition.target;
|
516 |
var values = condition.values;
|
517 |
|
maxbuttons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MaxButtons
|
4 |
Plugin URI: http://maxbuttons.com
|
5 |
Description: The best WordPress button generator. This is the free version; the Pro version <a href="http://maxbuttons.com/?ref=mbfree">can be found here</a>.
|
6 |
-
Version: 9.4
|
7 |
Author: Max Foundry
|
8 |
Author URI: http://maxfoundry.com
|
9 |
Text Domain: maxbuttons
|
@@ -16,9 +16,9 @@ namespace MaxButtons;
|
|
16 |
if (! defined('MAXBUTTONS_ROOT_FILE'))
|
17 |
define("MAXBUTTONS_ROOT_FILE", __FILE__);
|
18 |
if (! defined('MAXBUTTONS_VERSION_NUM'))
|
19 |
-
define('MAXBUTTONS_VERSION_NUM', '9.4');
|
20 |
|
21 |
-
define('MAXBUTTONS_RELEASE',"
|
22 |
|
23 |
if (! function_exists('MaxButtons\maxbutton_double_load'))
|
24 |
{
|
3 |
Plugin Name: MaxButtons
|
4 |
Plugin URI: http://maxbuttons.com
|
5 |
Description: The best WordPress button generator. This is the free version; the Pro version <a href="http://maxbuttons.com/?ref=mbfree">can be found here</a>.
|
6 |
+
Version: 9.4.1
|
7 |
Author: Max Foundry
|
8 |
Author URI: http://maxfoundry.com
|
9 |
Text Domain: maxbuttons
|
16 |
if (! defined('MAXBUTTONS_ROOT_FILE'))
|
17 |
define("MAXBUTTONS_ROOT_FILE", __FILE__);
|
18 |
if (! defined('MAXBUTTONS_VERSION_NUM'))
|
19 |
+
define('MAXBUTTONS_VERSION_NUM', '9.4.1');
|
20 |
|
21 |
+
define('MAXBUTTONS_RELEASE',"10 Octobre 2022");
|
22 |
|
23 |
if (! function_exists('MaxButtons\maxbutton_double_load'))
|
24 |
{
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: maxfoundry, basszje, arcware, johnbhartley
|
3 |
Tags: wordpress button plugin, share button, wordpress buttons, css3 button generator, responsive buttons, css wordpress button
|
4 |
Requires at least: 4.8
|
5 |
-
Tested up to: 6.
|
6 |
Requires PHP: 7.0
|
7 |
-
Stable tag: 9.4
|
8 |
WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
|
9 |
|
10 |
== Description ==
|
@@ -276,6 +276,10 @@ Upgrading to the PRO version is quite simple. Obtain a license key via our [site
|
|
276 |
|
277 |
== Changelog ==
|
278 |
|
|
|
|
|
|
|
|
|
279 |
= 9.4 =
|
280 |
|
281 |
- New - Clearer interface showing changes and differences on responsive screens from main button
|
2 |
Contributors: maxfoundry, basszje, arcware, johnbhartley
|
3 |
Tags: wordpress button plugin, share button, wordpress buttons, css3 button generator, responsive buttons, css wordpress button
|
4 |
Requires at least: 4.8
|
5 |
+
Tested up to: 6.1
|
6 |
Requires PHP: 7.0
|
7 |
+
Stable tag: 9.4.1
|
8 |
WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
|
9 |
|
10 |
== Description ==
|
276 |
|
277 |
== Changelog ==
|
278 |
|
279 |
+
= 9.4.1 =
|
280 |
+
|
281 |
+
* Fix - Javascript check on conditionals caused by external plugins conflicting in the button editor
|
282 |
+
|
283 |
= 9.4 =
|
284 |
|
285 |
- New - Clearer interface showing changes and differences on responsive screens from main button
|