Commit 5d0b725a authored by Tech No Freaky's avatar Tech No Freaky

1.1

* Plugin Activation Issue Fixed.
parent 0934cf7f
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
Contributors: varunms Contributors: varunms
Donate link: http://varunsridharan.in Donate link: http://varunsridharan.in
Tags: WooCommerce,Quick Dontion,quick donation,online donation,wordpress donation,simple donation,donation form,WC donation,Online Payment,Payment,Online,Donate,Monthly Goal,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce Tags: WooCommerce,Quick Dontion,quick donation,online donation,wordpress donation,simple donation,donation form,WC donation,Online Payment,Payment,Online,Donate,Monthly Goal,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce
Requires at least: 3.0 plus WooCommerce 2.x or higher Requires at least: 3.0 or higher
Tested up to: 4.1 + WooCommerce 2.x Tested up to: 4.1.1
Stable tag: 1.0 WC requires at least: 1.0
WC tested up to: 2.3.5
Stable tag: 1.1
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
...@@ -125,6 +127,9 @@ Yes you can! Join in on our <a href="https://github.com/technofreaky/woocomerce- ...@@ -125,6 +127,9 @@ Yes you can! Join in on our <a href="https://github.com/technofreaky/woocomerce-
5. Email Template Settings For Donation Completed. 5. Email Template Settings For Donation Completed.
== Changelog == == Changelog ==
= 1.1 =
* Plugin Activation Issue Fixed.
= 1.0 = = 1.0 =
* Configurable Min & Max Donation Amount * Configurable Min & Max Donation Amount
* Custom Error Messages * Custom Error Messages
......
...@@ -60,6 +60,7 @@ class wc_quick_donation_report { ...@@ -60,6 +60,7 @@ class wc_quick_donation_report {
} }
private function get_status_count(){ private function get_status_count(){
if(!empty($this->donation_orderids)){
foreach($this->donation_orderids as $id){ foreach($this->donation_orderids as $id){
$order_status = get_post_status($id); $order_status = get_post_status($id);
if($order_status == 'wc-on-hold' || $order_status == 'wc-processing'){ if($order_status == 'wc-on-hold' || $order_status == 'wc-processing'){
...@@ -68,6 +69,8 @@ class wc_quick_donation_report { ...@@ -68,6 +69,8 @@ class wc_quick_donation_report {
} }
return $this->status_count; return $this->status_count;
} }
return '';
}
private function generate_data(){ private function generate_data(){
foreach($this->donation_orderids as $id){ foreach($this->donation_orderids as $id){
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
Plugin Name: Woocommerce Quick Donation Plugin Name: Woocommerce Quick Donation
Plugin URI: http://varunsridharan.in/ Plugin URI: http://varunsridharan.in/
Description: Woocommerce Quick Donation Description: Woocommerce Quick Donation
Version: 1.0 Version: 1.1
Author: Varun Sridharan Author: Varun Sridharan
Author URI: http://varunsridharan.in/ Author URI: http://varunsridharan.in/
License: GPL2 License: GPL2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment