WordPress Button Plugin MaxButtons - Version 6.20

Version Description

  • Big technical update and clean up of code
  • Moved plugin to proper use of namespaces
  • File:// now allowed for URL's
  • Moved color class to mbcolor due to frequent issues with offending plugins.
  • Tested for WP 4.8
Download this release

Release Info

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

Code changes from version 6.20.1 to 6.20

assets/integrations/siteorigins_builder/sitebuilder.php CHANGED
@@ -13,14 +13,14 @@ function maxButtons_add_widget_tabs($tabs) {
13
 
14
  return $tabs;
15
  }
16
- add_filter('siteorigin_panels_widget_dialog_tabs', maxUtils::namespaceit('maxbuttons_add_widget_tabs'), 20);
17
 
18
  function maxbuttons_add_widgets($folders)
19
  {
20
  $folders[] = plugin_dir_path(__FILE__). 'widgets/';
21
  return $folders;
22
  }
23
- add_filter('siteorigin_widgets_widget_folders', maxUtils::namespaceit('maxbuttons_add_widgets'), 20);
24
 
25
 
26
 
@@ -29,13 +29,13 @@ function maxbuttons_fields_class_paths( $class_paths ) {
29
  $class_paths[] = plugin_dir_path( __FILE__ ) . "fields/";
30
  return $class_paths;
31
  }
32
- add_filter( 'siteorigin_widgets_field_class_paths', maxUtils::namespaceit('maxbuttons_fields_class_paths'), 20 );
33
 
34
  function maxbuttons_class_prefixes( $class_prefixes ) {
35
  $class_prefixes[] = 'MaxButton_Widget_Field_';
36
  return $class_prefixes;
37
  }
38
- add_filter( 'siteorigin_widgets_field_class_prefixes', maxUtils::namespaceit('maxbuttons_class_prefixes'), 20 );
39
 
40
 
41
 
13
 
14
  return $tabs;
15
  }
16
+ add_filter('siteorigin_panels_widget_dialog_tabs', 'maxbuttons_add_widget_tabs', 20);
17
 
18
  function maxbuttons_add_widgets($folders)
19
  {
20
  $folders[] = plugin_dir_path(__FILE__). 'widgets/';
21
  return $folders;
22
  }
23
+ add_filter('siteorigin_widgets_widget_folders', 'maxbuttons_add_widgets', 20);
24
 
25
 
26
 
29
  $class_paths[] = plugin_dir_path( __FILE__ ) . "fields/";
30
  return $class_paths;
31
  }
32
+ add_filter( 'siteorigin_widgets_field_class_paths', 'maxbuttons_fields_class_paths', 20 );
33
 
34
  function maxbuttons_class_prefixes( $class_prefixes ) {
35
  $class_prefixes[] = 'MaxButton_Widget_Field_';
36
  return $class_prefixes;
37
  }
38
+ add_filter( 'siteorigin_widgets_field_class_prefixes', 'maxbuttons_class_prefixes', 20 );
39
 
40
 
41
 
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: 6.20.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', '6.20.1');
20
 
21
- define('MAXBUTTONS_RELEASE',"19 Jun 2017");
22
 
23
 
24
  if (! function_exists('MaxButtons\maxbuttons_php52_nono'))
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: 6.20
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', '6.20');
20
 
21
+ define('MAXBUTTONS_RELEASE',"07 Jun 2017");
22
 
23
 
24
  if (! function_exists('MaxButtons\maxbuttons_php52_nono'))
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: maxfoundry, basszje, arcware, johnbhartley
3
  Tags: wordpress buttons, wordpress button plugin, social icons, css3 button generator, responsive buttons, css wordpress button
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
- Stable tag: 6.20.1
7
 
8
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons and social share icons.
9
 
3
  Tags: wordpress buttons, wordpress button plugin, social icons, css3 button generator, responsive buttons, css wordpress button
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
+ Stable tag: 6.20
7
 
8
  WordPress button plugin so powerful and easy to use anyone can create beautiful buttons and social share icons.
9