PayPal Donations - Version 1.8.4

Version Description

Download this release

Release Info

Developer artstorm
Plugin Icon 128x128 PayPal Donations
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.3 to 1.8.4

Files changed (3) hide show
  1. paypal-donations.php +22 -15
  2. readme.txt +6 -1
  3. views/paypal-button.php +1 -1
paypal-donations.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://johansteen.se/code/paypal-donations/
5
  Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
6
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
- Version: 1.8.3
9
  License: GPLv2 or later
10
  Text Domain: paypal-donations
11
 
@@ -58,28 +58,30 @@ class PayPalDonations
58
  );
59
  private $currency_codes = array(
60
  'AUD' => 'Australian Dollars (A $)',
 
61
  'CAD' => 'Canadian Dollars (C $)',
 
 
62
  'EUR' => 'Euros (€)',
63
- 'GBP' => 'Pounds Sterling (£)',
 
 
64
  'JPY' => 'Yen (¥)',
65
- 'USD' => 'U.S. Dollars ($)',
 
 
66
  'NZD' => 'New Zealand Dollar ($)',
67
- 'CHF' => 'Swiss Franc',
68
- 'HKD' => 'Hong Kong Dollar ($)',
 
 
69
  'SGD' => 'Singapore Dollar ($)',
70
  'SEK' => 'Swedish Krona',
71
- 'DKK' => 'Danish Krone',
72
- 'PLN' => 'Polish Zloty',
73
- 'NOK' => 'Norwegian Krone',
74
- 'HUF' => 'Hungarian Forint',
75
- 'CZK' => 'Czech Koruna',
76
- 'ILS' => 'Israeli Shekel',
77
- 'MXN' => 'Mexican Peso',
78
- 'BRL' => 'Brazilian Real',
79
  'TWD' => 'Taiwan New Dollar',
80
- 'PHP' => 'Philippine Peso',
81
  'TRY' => 'Turkish Lira',
82
- 'THB' => 'Thai Baht'
83
  );
84
  private $localized_buttons = array(
85
  'en_AU' => 'Australia - Australian English',
@@ -102,6 +104,7 @@ class PayPalDonations
102
  private $checkout_languages = array(
103
  'AU' => 'Australia',
104
  'AT' => 'Austria',
 
105
  'BR' => 'Brazil',
106
  'CA' => 'Canada',
107
  'CN' => 'China',
@@ -109,8 +112,12 @@ class PayPalDonations
109
  'DE' => 'Germany',
110
  'IT' => 'Italy',
111
  'NL' => 'Netherlands',
 
 
 
112
  'ES' => 'Spain',
113
  'SE' => 'Sweden',
 
114
  'GB' => 'United Kingdom',
115
  'US' => 'United States',
116
  );
5
  Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
6
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
+ Version: 1.8.4
9
  License: GPLv2 or later
10
  Text Domain: paypal-donations
11
 
58
  );
59
  private $currency_codes = array(
60
  'AUD' => 'Australian Dollars (A $)',
61
+ 'BRL' => 'Brazilian Real',
62
  'CAD' => 'Canadian Dollars (C $)',
63
+ 'CZK' => 'Czech Koruna',
64
+ 'DKK' => 'Danish Krone',
65
  'EUR' => 'Euros (€)',
66
+ 'HKD' => 'Hong Kong Dollar ($)',
67
+ 'HUF' => 'Hungarian Forint',
68
+ 'ILS' => 'Israeli New Shekel',
69
  'JPY' => 'Yen (¥)',
70
+ 'MYR' => 'Malaysian Ringgit',
71
+ 'MXN' => 'Mexican Peso',
72
+ 'NOK' => 'Norwegian Krone',
73
  'NZD' => 'New Zealand Dollar ($)',
74
+ 'PHP' => 'Philippine Peso',
75
+ 'PLN' => 'Polish Zloty',
76
+ 'GBP' => 'Pounds Sterling (£)',
77
+ 'RUB' => 'Russian Ruble',
78
  'SGD' => 'Singapore Dollar ($)',
79
  'SEK' => 'Swedish Krona',
80
+ 'CHF' => 'Swiss Franc',
 
 
 
 
 
 
 
81
  'TWD' => 'Taiwan New Dollar',
82
+ 'THB' => 'Thai Baht',
83
  'TRY' => 'Turkish Lira',
84
+ 'USD' => 'U.S. Dollars ($)',
85
  );
86
  private $localized_buttons = array(
87
  'en_AU' => 'Australia - Australian English',
104
  private $checkout_languages = array(
105
  'AU' => 'Australia',
106
  'AT' => 'Austria',
107
+ 'BE' => 'Belgium',
108
  'BR' => 'Brazil',
109
  'CA' => 'Canada',
110
  'CN' => 'China',
112
  'DE' => 'Germany',
113
  'IT' => 'Italy',
114
  'NL' => 'Netherlands',
115
+ 'PL' => 'Poland',
116
+ 'PR' => 'Portugal',
117
+ 'RU' => 'Russia',
118
  'ES' => 'Spain',
119
  'SE' => 'Sweden',
120
+ 'CH' => 'Switzerland',
121
  'GB' => 'United Kingdom',
122
  'US' => 'United States',
123
  );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://johansteen.se/donate/
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
- Stable tag: 1.8.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -82,6 +82,11 @@ Contributions are appreciated and encouraged.
82
 
83
  == Changelog ==
84
 
 
 
 
 
 
85
  = Version 1.8.3 - 11 Apr 2014 =
86
  * Adds a Remove Line Feeds option on the Advanced tab, that makes the PayPal
87
  form output not be affected if using a theme or a plugin that modifies
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
+ Stable tag: 1.8.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
82
 
83
  == Changelog ==
84
 
85
+ = Version 1.8.4 - 5 May 2014 =
86
+ * Additional currencies: Malaysian Ringgit, Russian Ruble.
87
+ * Additional Checkout Languages: Belgium, Switzerland, Poland, Russia.
88
+ * Removes PHP notice when running WordPress in debug mode.
89
+
90
  = Version 1.8.3 - 11 Apr 2014 =
91
  * Adds a Remove Line Feeds option on the Advanced tab, that makes the PayPal
92
  form output not be affected if using a theme or a plugin that modifies
views/paypal-button.php CHANGED
@@ -1,6 +1,6 @@
1
  <!-- Begin PayPal Donations by http://johansteen.se/ -->
2
  <form action="<?php echo apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr'); ?>" method="post"<?php
3
- if ($pd_options['new_tab']) {
4
  echo ' target="_blank"';
5
  }
6
  ?>>
1
  <!-- Begin PayPal Donations by http://johansteen.se/ -->
2
  <form action="<?php echo apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr'); ?>" method="post"<?php
3
+ if (isset($pd_options['new_tab'])) {
4
  echo ' target="_blank"';
5
  }
6
  ?>>