PayPal Donation - Version 1.2.4

Version Description

  • 1/24/18
  • Fix - PHP Error message caused by widget class name
Download this release

Release Info

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

Code changes from version 1.2.3 to 1.2.4

easy-paypal-donation.php CHANGED
@@ -8,7 +8,7 @@ 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.3
12
  */
13
 
14
  /* Copyright 2014-2017 Scott Paterson
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
+ Version: 1.2.4
12
  */
13
 
14
  /* Copyright 2014-2017 Scott Paterson
includes/private_widget.php CHANGED
@@ -3,9 +3,13 @@
3
  class wpedon_button_widget extends WP_Widget {
4
 
5
  // constructor
6
- function wpedon_button_widget() {
7
- parent::__construct(false, $name = 'PayPal Donation Button');
8
- }
 
 
 
 
9
 
10
  // public output
11
  function widget( $args, $instance ) {
3
  class wpedon_button_widget extends WP_Widget {
4
 
5
  // constructor
6
+ public function __construct() {
7
+ $widget_ops = array(
8
+ 'classname' => 'wpedon_widget',
9
+ 'description' => 'PayPal Donation Button',
10
+ );
11
+ parent::__construct( 'wpedon_widget', 'PayPal Donation Button', $widget_ops );
12
+ }
13
 
14
  // public output
15
  function widget( $args, $instance ) {
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.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -90,6 +90,10 @@ Yes, there is no limit to the amount of PayPal donations buttons that you can pu
90
 
91
  == Changelog ==
92
 
 
 
 
 
93
  = 1.2.3 =
94
  * 6/15/17
95
  * Updated - Tested plugin up to WordPress version 4.8
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
  Requires PHP: 5.4
9
+ Stable tag: 1.2.4
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.2.4 =
94
+ * 1/24/18
95
+ * Fix - PHP Error message caused by widget class name
96
+
97
  = 1.2.3 =
98
  * 6/15/17
99
  * Updated - Tested plugin up to WordPress version 4.8