Permalink
Browse files

Added note to plugin updates about what to comment out for proper tes…

…ting.
  • Loading branch information...
1 parent 2f2e0e3 commit 9774186067c3903ad31a7f5b8d1a38ddf8ec8ff4 @jeremyclark13 committed Jul 14, 2012
View
@@ -2,7 +2,7 @@
/*******
Original Plugin & Theme API by Kaspars Dambis (kaspars@konstruktors.com)
Modified by Jeremy Clark http://clark-technet.com
- Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=73N8G8UPGDG2Q
+ Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SE9ZVJUS324UC
*******/
// Pull user agent
Binary file not shown.
@@ -11,6 +11,11 @@
/*
// TEMP: Enable update check on every request. Normally you don't need this! This is for testing only!
+// NOTE: The
+// if (empty($checked_data->checked))
+// return $checked_data;
+// lines will need to be commented in the check_for_plugin_update function as well.
+
set_site_transient('update_plugins', null);
// TEMP: Show which variables are being requested when query plugin API
@@ -33,6 +38,7 @@ function aaa_result($res, $action, $args) {
function check_for_plugin_update($checked_data) {
global $api_url, $plugin_slug;
+ //Comment out these two lines during testing.
if (empty($checked_data->checked))
return $checked_data;
View
@@ -1,8 +1,8 @@
## Automatic Theme & Plugin Updater for Self-Hosted Themes/Plugins
-**Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=73N8G8UPGDG2Q**
+** Support This Developer: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SE9ZVJUS324UC**
-*Donations are always appreciated*
+*Any amount is always appreciated*
## General Info
View
@@ -1,8 +1,8 @@
## Automatic Theme & Plugin Updater for Self-Hosted Themes/Plugins
-**Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=73N8G8UPGDG2Q**
+** Support This: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SE9ZVJUS324UC**
-*Donations are always appreciated*
+*Any amount is always appreciated*
## General Info

0 comments on commit 9774186

Please sign in to comment.