PayPal Donation - Version 1.2.6

Version Description

  • 3/9/18
  • Fix - Error message was being thrown in relation to widget function.
Download this release

Release Info

Developer scottpaterson
Plugin Icon 128x128 PayPal Donation
Version 1.2.6
Comparing to
See all releases

Code changes from version 1.2.5 to 1.2.6

easy-paypal-donation.php CHANGED
@@ -8,10 +8,10 @@ Tags: donation, donate, donations, charity, paypal, paypal donation, ecommerce,
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
- Version: 1.2.5
12
  */
13
 
14
- /* Copyright 2014-2017 Scott Paterson
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
+ Version: 1.2.6
12
  */
13
 
14
+ /* Copyright 2014-2018 Scott Paterson
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
includes/private_widget.php CHANGED
@@ -98,4 +98,10 @@ class wpedon_button_widget extends WP_Widget {
98
  }
99
  }
100
 
101
- add_action('widgets_init', create_function('', 'return register_widget("wpedon_button_widget");'));
 
 
 
 
 
 
98
  }
99
  }
100
 
101
+
102
+
103
+ // Register and load the widget
104
+ function wpedon_button_widget_load() {
105
+ register_widget( 'wpedon_button_widget' );
106
+ }
107
+ add_action( 'widgets_init', 'wpedon_button_widget_load' );
readme.txt CHANGED
@@ -6,7 +6,7 @@ Author URI: https://wpplugin.org
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
  Requires PHP: 5.4
9
- Stable tag: 1.2.5
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -94,6 +94,10 @@ Yes, there is no limit to the amount of PayPal donations buttons that you can pu
94
 
95
  == Changelog ==
96
 
 
 
 
 
97
  = 1.2.5 =
98
  * 1/31/18
99
  * New - Ability to pass name as shortcode attribute.
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
  Requires PHP: 5.4
9
+ Stable tag: 1.2.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
94
 
95
  == Changelog ==
96
 
97
+ = 1.2.6 =
98
+ * 3/9/18
99
+ * Fix - Error message was being thrown in relation to widget function.
100
+
101
  = 1.2.5 =
102
  * 1/31/18
103
  * New - Ability to pass name as shortcode attribute.