WordPress Button Plugin MaxButtons - Version 7.5.1

Version Description

  • Fix - Error when loading tinymce button resulted in crash for some users
Download this release

Release Info

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

Code changes from version 7.5 to 7.5.1

Files changed (3) hide show
  1. classes/maxbuttons-class.php +2 -2
  2. maxbuttons.php +3 -3
  3. readme.txt +5 -1
classes/maxbuttons-class.php CHANGED
@@ -494,7 +494,7 @@ class maxButtonsPlugin
494
  // official, but horrible way to add JS
495
  foreach ( array('post.php','post-new.php') as $hook ) {
496
  add_action( "admin_head-$hook", function () {
497
- $icon_url = $this->plugin_url . 'images/mb-peach-32.png';
498
  echo "<script type='text/javascript'>
499
  var maxButtonsTinyMCE = {
500
  'icon': '$icon_url'
@@ -636,7 +636,7 @@ class maxButtonsPlugin
636
  /** Output footer styles and scripts
637
  *
638
  * Outputs loaded styles, and scripts to the footer for display. Email_off is to prevent cloudfare from 'obfuscating' the minified CSS
639
- * No optimize prevent autoptimize from mutilating the already optimized CSS.
640
  */
641
  function footer()
642
  {
494
  // official, but horrible way to add JS
495
  foreach ( array('post.php','post-new.php') as $hook ) {
496
  add_action( "admin_head-$hook", function () {
497
+ $icon_url = MB()->get_plugin_url() . 'images/mb-peach-32.png';
498
  echo "<script type='text/javascript'>
499
  var maxButtonsTinyMCE = {
500
  'icon': '$icon_url'
636
  /** Output footer styles and scripts
637
  *
638
  * Outputs loaded styles, and scripts to the footer for display. Email_off is to prevent cloudfare from 'obfuscating' the minified CSS
639
+ * No optimize prevent autoptimize from mutilating the already optimized CSS.
640
  */
641
  function footer()
642
  {
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: 7.5
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', '7.5');
20
 
21
- define('MAXBUTTONS_RELEASE',"21 Sept 2018");
22
 
23
 
24
  if (! function_exists('MaxButtons\maxbutton_double_load'))
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: 7.5.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', '7.5.1');
20
 
21
+ define('MAXBUTTONS_RELEASE',"25 Sept 2018");
22
 
23
 
24
  if (! function_exists('MaxButtons\maxbutton_double_load'))
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: wordpress button plugin, share button, wordpress buttons, css3 button gene
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.4
7
- Stable tag: 7.5
8
 
9
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
10
 
@@ -255,6 +255,10 @@ Secondly, please use latin only characters for button name ( Basic settings) and
255
 
256
  == Changelog ==
257
 
 
 
 
 
258
  = 7.5 =
259
 
260
  * New - Support for Gutenberg
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.4
7
+ Stable tag: 7.5.1
8
 
9
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons, share buttons and social icons.
10
 
255
 
256
  == Changelog ==
257
 
258
+ = 7.5.1 =
259
+
260
+ * Fix - Error when loading tinymce button resulted in crash for some users
261
+
262
  = 7.5 =
263
 
264
  * New - Support for Gutenberg