Version Description
- 12/20/15
- Bug fixes
Download this release
Release Info
Developer | scottpaterson |
Plugin | PayPal Donation |
Version | 1.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.1
- easy-paypal-donation.php +2 -2
- includes/private_buttons.php +2 -2
- includes/private_settings.php +1 -1
- includes/private_widget.php +10 -1
- readme.txt +9 -1
easy-paypal-donation.php
CHANGED
@@ -4,11 +4,11 @@
|
|
4 |
Plugin Name: Easy PayPal Donation Pro
|
5 |
Plugin URI: https://wpplugin.org/easy-paypal-donation/
|
6 |
Description: A simple and easy way to accept PayPal donations on your website.
|
7 |
-
Tags:
|
8 |
Author: Scott Paterson
|
9 |
Author URI: https://wpplugin.org
|
10 |
License: GPL2
|
11 |
-
Version: 1.
|
12 |
*/
|
13 |
|
14 |
/* Copyright 2014-2015 Scott Paterson
|
4 |
Plugin Name: Easy PayPal Donation Pro
|
5 |
Plugin URI: https://wpplugin.org/easy-paypal-donation/
|
6 |
Description: A simple and easy way to accept PayPal donations on your website.
|
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.1
|
12 |
*/
|
13 |
|
14 |
/* Copyright 2014-2015 Scott Paterson
|
includes/private_buttons.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
function wpedon_plugin_buttons() {
|
4 |
|
5 |
-
if (!isset($_GET['action']) || $_GET['action'] == "delete" || $_GET['action2'] == "delete") {
|
6 |
|
7 |
// create a table
|
8 |
|
@@ -281,7 +281,7 @@ function wpedon_plugin_buttons() {
|
|
281 |
// admin products page delete product
|
282 |
if (isset($_GET['action']) && $_GET['action'] == "delete" || isset($_GET['action2']) && $_GET['action2'] == "delete") {
|
283 |
|
284 |
-
if ($_GET['inline'] == "true") {
|
285 |
$post_id = array($_GET['product']);
|
286 |
} else {
|
287 |
$post_id = $_GET['product'];
|
2 |
|
3 |
function wpedon_plugin_buttons() {
|
4 |
|
5 |
+
if (!isset($_GET['action']) || $_GET['action'] == "delete" || !empty($_GET['action2']) == "delete") {
|
6 |
|
7 |
// create a table
|
8 |
|
281 |
// admin products page delete product
|
282 |
if (isset($_GET['action']) && $_GET['action'] == "delete" || isset($_GET['action2']) && $_GET['action2'] == "delete") {
|
283 |
|
284 |
+
if (!empty($_GET['inline']) == "true") {
|
285 |
$post_id = array($_GET['product']);
|
286 |
} else {
|
287 |
$post_id = $_GET['product'];
|
includes/private_settings.php
CHANGED
@@ -302,7 +302,7 @@ WPPlugin is an offical PayPal Partner. Various trademarks held by their respecti
|
|
302 |
|
303 |
<div style="background-color:#fff;border: 1px solid #E5E5E5;"><br />
|
304 |
|
305 |
-
<center><a target='_blank' href="https://wordpress.org/
|
306 |
<br />
|
307 |
<center><a target='_blank' href="https://wpplugin.org/donate" class='button-primary' style='font-size: 17px;line-height: 28px;height: 32px;'>Donate to the Developer</a></center>
|
308 |
<br />
|
302 |
|
303 |
<div style="background-color:#fff;border: 1px solid #E5E5E5;"><br />
|
304 |
|
305 |
+
<center><a target='_blank' href="https://wordpress.org/support/view/plugin-reviews/easy-paypal-donation" class='button-primary' style='font-size: 17px;line-height: 28px;height: 32px;'>Leave us a 5 Star Review</a></center>
|
306 |
<br />
|
307 |
<center><a target='_blank' href="https://wpplugin.org/donate" class='button-primary' style='font-size: 17px;line-height: 28px;height: 32px;'>Donate to the Developer</a></center>
|
308 |
<br />
|
includes/private_widget.php
CHANGED
@@ -4,7 +4,7 @@ class wpedon_button_widget extends WP_Widget {
|
|
4 |
|
5 |
// constructor
|
6 |
function wpedon_button_widget() {
|
7 |
-
parent::
|
8 |
}
|
9 |
|
10 |
// public output
|
@@ -32,8 +32,17 @@ class wpedon_button_widget extends WP_Widget {
|
|
32 |
|
33 |
// private output
|
34 |
function form( $instance ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
$title = esc_attr($instance['title']);
|
36 |
$idvalue = esc_attr($instance['idvalue']);
|
|
|
37 |
?>
|
38 |
<p><label>Widget Name:</label>
|
39 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></p>
|
4 |
|
5 |
// constructor
|
6 |
function wpedon_button_widget() {
|
7 |
+
parent::__construct(false, $name = 'PayPal Donation Button');
|
8 |
}
|
9 |
|
10 |
// public output
|
32 |
|
33 |
// private output
|
34 |
function form( $instance ) {
|
35 |
+
|
36 |
+
if (empty($instance['title'])) {
|
37 |
+
$instance['title'] = "";
|
38 |
+
}
|
39 |
+
if (empty($instance['idvalue'])) {
|
40 |
+
$instance['idvalue'] = "";
|
41 |
+
}
|
42 |
+
|
43 |
$title = esc_attr($instance['title']);
|
44 |
$idvalue = esc_attr($instance['idvalue']);
|
45 |
+
|
46 |
?>
|
47 |
<p><label>Widget Name:</label>
|
48 |
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></p>
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donate, donations, charity, paypal, paypal donation, ecommerce
|
|
5 |
Author URI: https://wpplugin.org
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.4
|
8 |
-
Stable tag: 1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -76,12 +76,20 @@ Yes, there is no limit to the amount you can put on one post / page, or your ent
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= 1.0 =
|
80 |
* 12/11/15
|
81 |
* Initial release
|
82 |
|
83 |
== Upgrade Notice ==
|
84 |
|
|
|
|
|
|
|
|
|
85 |
= 1.0 =
|
86 |
* 12/11/15
|
87 |
Initial release
|
5 |
Author URI: https://wpplugin.org
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.4
|
8 |
+
Stable tag: 1.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 1.1 =
|
80 |
+
* 12/20/15
|
81 |
+
* Bug fixes
|
82 |
+
|
83 |
= 1.0 =
|
84 |
* 12/11/15
|
85 |
* Initial release
|
86 |
|
87 |
== Upgrade Notice ==
|
88 |
|
89 |
+
= 1.1 =
|
90 |
+
* 12/20/15
|
91 |
+
* Bug fixes
|
92 |
+
|
93 |
= 1.0 =
|
94 |
* 12/11/15
|
95 |
Initial release
|