Commit 87bc8caa authored by Varun Sridharan's avatar Varun Sridharan

Fixed #50

parent 2bd6d33c
...@@ -116,7 +116,7 @@ class WooCommerce_Quick_Donation_Functions { ...@@ -116,7 +116,7 @@ class WooCommerce_Quick_Donation_Functions {
return self::$project_db_list; return self::$project_db_list;
} }
$args = array( $args = array(
'posts_per_page' => 0, 'posts_per_page' => -1,
'offset' => 0, 'offset' => 0,
'category' => '', 'category' => '',
'category_name' => '', 'category_name' => '',
......
...@@ -133,7 +133,7 @@ class WooCommerce_Quick_Donation { ...@@ -133,7 +133,7 @@ class WooCommerce_Quick_Donation {
self::$db = new WooCommerce_Quick_Donation_DB; self::$db = new WooCommerce_Quick_Donation_DB;
self::$f = new WooCommerce_Quick_Donation_Functions; self::$f = new WooCommerce_Quick_Donation_Functions;
self::$email = new WooCommerce_Quick_Donation_Emails_Functions; self::$email = new WooCommerce_Quick_Donation_Emails_Functions;
self::$settings = new WooCommerce_Quick_Donation_Settings;
if($this->is_request('frontend')){ if($this->is_request('frontend')){
self::$shortcode = new WooCommerce_Quick_Donation_Shortcode; self::$shortcode = new WooCommerce_Quick_Donation_Shortcode;
$this->donation = new WooCommerce_Quick_Donation_Process; $this->donation = new WooCommerce_Quick_Donation_Process;
...@@ -144,7 +144,7 @@ class WooCommerce_Quick_Donation { ...@@ -144,7 +144,7 @@ class WooCommerce_Quick_Donation {
$this->admin = new WooCommerce_Quick_Donation_Admin; $this->admin = new WooCommerce_Quick_Donation_Admin;
} }
self::$settings = new WooCommerce_Quick_Donation_Settings;
} }
......
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