WordPress Button Plugin MaxButtons - Version 8.1.2

Version Description

  • Fix - In Auto-responsive, font-size would be decreased doubly in size.
Download this release

Release Info

Developer basszje
Plugin Icon 128x128 WordPress Button Plugin MaxButtons
Version 8.1.2
Comparing to
See all releases

Code changes from version 8.1.1 to 8.1.2

Files changed (3) hide show
  1. blocks/responsive.php +2 -7
  2. maxbuttons.php +3 -3
  3. readme.txt +8 -2
blocks/responsive.php CHANGED
@@ -44,29 +44,24 @@ class responsiveBlock extends maxBlock
44
  $this->data['container'][$prefix . '_container_width_unit'] = 'percent';
45
  $this->data['container'][$prefix . '_container_alignment'] = 'float:none';
46
 
47
- if (isset($this->data['text']['font_size']))
48
- {
49
- $this->data['text']['font_size'] = floor(intval($this->data["text"]["font_size"]) * 0.8) ;
50
- }
51
-
52
  $css['maxbutton']['responsive'][$prefix] = array(
53
  'definition' => array('min_width' => 0, 'max_width' => 480, 'screen_name' => 'autoresponsive'),
54
  'normal' => array('width' => '90%'),
55
-
56
  );
57
 
58
  $css['mb-container']['responsive'][$prefix] = array('normal' => array('width' => '90%', 'float' => 'none'));
59
 
 
60
 
61
  if (isset($this->data['text']['font_size']))
62
  {
 
63
  $css['mb-text']['responsive'][$prefix] = array('normal' => array('font-size' => floor(intval($this->data["text"]["font_size"]) * 0.8) . 'px'));
64
  }
65
 
66
  Screen::setupScreens($this->data);
67
  }
68
 
69
-
70
  foreach($screens as $screenObj)
71
  {
72
  $screen_id = $screenObj->id;
44
  $this->data['container'][$prefix . '_container_width_unit'] = 'percent';
45
  $this->data['container'][$prefix . '_container_alignment'] = 'float:none';
46
 
 
 
 
 
 
47
  $css['maxbutton']['responsive'][$prefix] = array(
48
  'definition' => array('min_width' => 0, 'max_width' => 480, 'screen_name' => 'autoresponsive'),
49
  'normal' => array('width' => '90%'),
 
50
  );
51
 
52
  $css['mb-container']['responsive'][$prefix] = array('normal' => array('width' => '90%', 'float' => 'none'));
53
 
54
+ $css["mb-text"]["responsive"]["phone"][0]["font-size"] = "90%";
55
 
56
  if (isset($this->data['text']['font_size']))
57
  {
58
+ //var_dump( floor(intval($this->data["text"]["font_size"]) * 0.8));
59
  $css['mb-text']['responsive'][$prefix] = array('normal' => array('font-size' => floor(intval($this->data["text"]["font_size"]) * 0.8) . 'px'));
60
  }
61
 
62
  Screen::setupScreens($this->data);
63
  }
64
 
 
65
  foreach($screens as $screenObj)
66
  {
67
  $screen_id = $screenObj->id;
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: 8.1.1
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', '8.1.1');
20
 
21
- define('MAXBUTTONS_RELEASE',"10 August 2020");
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: 8.1.2
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', '8.1.2');
20
 
21
+ define('MAXBUTTONS_RELEASE',"17 August 2020");
22
 
23
  if (! function_exists('MaxButtons\maxbutton_double_load'))
24
  {
readme.txt CHANGED
@@ -2,15 +2,16 @@
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: 5.4
6
  Requires PHP: 5.6
7
- Stable tag: 8.1.1
8
 
9
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
10
 
11
  == Description ==
12
  [MaxButtons](https://maxbuttons.com/?utm_source=repowp1&utm_medium=mbrepo&utm_content=mbr_maxbuttons&utm_campaign=mbr_maxbuttons) is a powerful WordPress button, share button and social icon plugin. Create great looking CSS3 WordPress buttons in a minute. Easy to understand. Our button editor with live preview makes it a snap to generate awesome responsive buttons in very little time. The social share buttons and social icon features allow you to add social options to your website in minutes.
13
 
 
14
  MaxButtons [WordPress button plugin](https://www.maxbuttons.com/#CSS3/?utm_source=repowbp&utm_medium=mbrepo&utm_content=wordpress_button_plugin&utm_campaign=repowbp) has been going strong for over 6 years and was the first button plugin for WordPress. MaxButtons has earned over 900 5-star reviews and over 2.5 million downloads. Here are couple of our favorites:
15
 
16
  > “The best plugin of its kind” - by celito
@@ -264,6 +265,10 @@ Secondly, please use latin only characters for button name ( Basic settings) and
264
 
265
  == Changelog ==
266
 
 
 
 
 
267
  = 8.1.1 =
268
 
269
  * Fix - New color picker library always triggered save warning
@@ -464,3 +469,4 @@ Secondly, please use latin only characters for button name ( Basic settings) and
464
 
465
  **Warning** . This is a big upgrade. This update has major changes to responsive options. Before updating - Make backup of database table
466
  - Check your buttons after updating - Check your responsive buttons
 
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: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 8.1.2
8
 
9
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
10
 
11
  == Description ==
12
  [MaxButtons](https://maxbuttons.com/?utm_source=repowp1&utm_medium=mbrepo&utm_content=mbr_maxbuttons&utm_campaign=mbr_maxbuttons) is a powerful WordPress button, share button and social icon plugin. Create great looking CSS3 WordPress buttons in a minute. Easy to understand. Our button editor with live preview makes it a snap to generate awesome responsive buttons in very little time. The social share buttons and social icon features allow you to add social options to your website in minutes.
13
 
14
+
15
  MaxButtons [WordPress button plugin](https://www.maxbuttons.com/#CSS3/?utm_source=repowbp&utm_medium=mbrepo&utm_content=wordpress_button_plugin&utm_campaign=repowbp) has been going strong for over 6 years and was the first button plugin for WordPress. MaxButtons has earned over 900 5-star reviews and over 2.5 million downloads. Here are couple of our favorites:
16
 
17
  > “The best plugin of its kind” - by celito
265
 
266
  == Changelog ==
267
 
268
+ = 8.1.2 =
269
+
270
+ * Fix - In Auto-responsive, font-size would be decreased doubly in size.
271
+
272
  = 8.1.1 =
273
 
274
  * Fix - New color picker library always triggered save warning
469
 
470
  **Warning** . This is a big upgrade. This update has major changes to responsive options. Before updating - Make backup of database table
471
  - Check your buttons after updating - Check your responsive buttons
472
+