PayPal Donation - Version 1.2.9

Version Description

  • 6/12/18
  • Fix - Cannot modify header PHP warning in Divi page builder.
  • Fix - CSS drodown menu height and background color attributes removed.
Download this release

Release Info

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

Code changes from version 1.2.8 to 1.2.9

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.8
12
  */
13
 
14
  /* Copyright 2014-2018 Scott Paterson
8
  Author: Scott Paterson
9
  Author URI: https://wpplugin.org
10
  License: GPL2
11
+ Version: 1.2.9
12
  */
13
 
14
  /* Copyright 2014-2018 Scott Paterson
includes/public_shortcode.php CHANGED
@@ -409,16 +409,18 @@ function wpedon_options($atts) {
409
  // dd is active so set first value just in case no option is selected by user
410
  $amount =$wpedon_button_scpricea;
411
 
412
- ?>
413
  <script>
414
  jQuery(document).ready(function(){
415
- jQuery('#dd_<?php echo $rand_string; ?>').on('change', function() {
416
- jQuery('#amount_<?php echo $rand_string; ?>').val(this.value);
417
  });
418
  });
419
  </script>
420
- <?php
421
- if (!empty($wpedon_button_scpriceprice)) { $output .= "<label style='font-size:11pt !important;'>$wpedon_button_scpriceprice</label><br /><select name='dd_$rand_string' id='dd_$rand_string' style='font-size:11pt !important;width:100% !important;min-width:$width !important;max-width:$width !important;background: #fff !important;border: 1px solid #ddd !important;height:30px !important;'>"; }
 
 
422
  if (!empty($wpedon_button_scpriceaname)) { $output .= "<option value='$wpedon_button_scpricea'>". $wpedon_button_scpriceaname ."</option>"; }
423
  if (!empty($wpedon_button_scpricebname)) { $output .= "<option value='$wpedon_button_scpriceb'>". $wpedon_button_scpricebname ."</option>"; }
424
  if (!empty($wpedon_button_scpricecname)) { $output .= "<option value='$wpedon_button_scpricec'>". $wpedon_button_scpricecname ."</option>"; }
409
  // dd is active so set first value just in case no option is selected by user
410
  $amount =$wpedon_button_scpricea;
411
 
412
+ $output .= "
413
  <script>
414
  jQuery(document).ready(function(){
415
+ jQuery('#dd_$rand_string').on('change', function() {
416
+ jQuery('#amount_$rand_string').val(this.value);
417
  });
418
  });
419
  </script>
420
+ ";
421
+
422
+
423
+ if (!empty($wpedon_button_scpriceprice)) { $output .= "<label style='font-size:11pt !important;'>$wpedon_button_scpriceprice</label><br /><select name='dd_$rand_string' id='dd_$rand_string' style='width:100% !important;min-width:$width !important;max-width:$width !important;border: 1px solid #ddd !important;'>"; }
424
  if (!empty($wpedon_button_scpriceaname)) { $output .= "<option value='$wpedon_button_scpricea'>". $wpedon_button_scpriceaname ."</option>"; }
425
  if (!empty($wpedon_button_scpricebname)) { $output .= "<option value='$wpedon_button_scpriceb'>". $wpedon_button_scpricebname ."</option>"; }
426
  if (!empty($wpedon_button_scpricecname)) { $output .= "<option value='$wpedon_button_scpricec'>". $wpedon_button_scpricecname ."</option>"; }
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.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -94,6 +94,11 @@ Yes, there is no limit to the amount of PayPal donations buttons that you can pu
94
 
95
  == Changelog ==
96
 
 
 
 
 
 
97
  = 1.2.8 =
98
  * 5/16/18
99
  * Fix - Removed button title !important attribute
6
  Requires at least: 3.0
7
  Tested up to: 4.9
8
  Requires PHP: 5.4
9
+ Stable tag: 1.2.9
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.9 =
98
+ * 6/12/18
99
+ * Fix - Cannot modify header PHP warning in Divi page builder.
100
+ * Fix - CSS drodown menu height and background color attributes removed.
101
+
102
  = 1.2.8 =
103
  * 5/16/18
104
  * Fix - Removed button title !important attribute