Changeset 421932
- Timestamp:
- 08/11/2011 01:01:10 AM (14 years ago)
- Location:
- wordpress-amazon-associate/trunk
- Files:
-
- 3 edited
-
WPAA.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wordpress_amazon_associate.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-amazon-associate/trunk/WPAA.php
r419803 r421932 913 913 $this->options['Version'] = $this->version; 914 914 update_option($this->config_options_name, $this->options); 915 // send site installation information916 // Information Sent:917 // APP -> WPAA (WordPress-Amazon-Associate)918 // old -> Previous Plugin Version919 // new -> Current Plugin Version920 if( function_exists('curl_init') ) {921 $handle = curl_init('http://mdbitz.com/installs.php?function=upgrade&app=WPAA&version=' . $this->version . '&old=' . $old_version );922 if (false === $handle) {923 return;924 }925 curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE);926 curl_setopt($handle, CURLOPT_NOBODY, true);927 $response = curl_exec($handle);928 curl_close($handle);929 }930 915 } 931 916 } -
wordpress-amazon-associate/trunk/readme.txt
r419803 r421932 187 187 188 188 The full project changelogs can be found at [http://labs.mdbitz.com/wordpress/wordpress-amazon-associate-plugin/changelog](http://labs.mdbitz.com/wordpress/wordpress-amazon-associate-plugin/changelog/?utm_source=wordpress&utm_medium=plugin-readme&utm_campaign=plugin) 189 190 = 1.7.4 - 08/10/2011 = 191 * Removal of activate / deactivate hooks as per newly communicated [plugin guidelines](http://labs.mdbitz.com/2011/08/the-hidden-plugin-guidelines-all-wordpress-plugin-developers-should-know/) 189 192 190 193 = 1.7.3 - 08/05/2011 = -
wordpress-amazon-associate/trunk/wordpress_amazon_associate.php
r419803 r421932 5 5 Description: Quickly and eaily monetize your webiste through the integration of Amazon products and widgets tagged with your associate id. 6 6 Author: MDBitz - Matthew John Denton 7 Version: 1.7. 37 Version: 1.7.4 8 8 Requires at least: 3.0.0 9 9 Author URI: http://labs.mdbitz.com … … 44 44 global $wpaa_version; 45 45 global $wpaa_update_date; 46 $wpaa_version = "1.7. 3";47 $wpaa_update_date = "08- 03-2011";46 $wpaa_version = "1.7.4"; 47 $wpaa_update_date = "08-10-2011"; 48 48 49 49 // load Admin Class … … 51 51 spl_autoload_register(array('WPAA', 'autoload')); 52 52 $wpaa = new WPAA( $wpaa_version, $wpaa_update_date ); 53 54 // deactivation55 register_deactivation_hook( __FILE__, 'wpaa_deactivate');56 57 /**58 * send site uninstall information59 */60 function wpaa_deactivate() {61 global $wpaa_version;62 if( function_exists('curl_init') ) {63 $handle = curl_init('http://mdbitz.com/installs.php?function=deactivate&app=WPAA&version=' . $wpaa_version );64 if (false !== $handle) {65 curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE);66 curl_setopt($handle, CURLOPT_NOBODY, true);67 $response = curl_exec($handle);68 curl_close($handle);69 }70 }71 }72 73 // deactivation74 register_activation_hook( __FILE__, 'wpaa_activate');75 76 /**77 * send site activation information78 */79 function wpaa_activate() {80 global $wpaa_version;81 if( function_exists('curl_init') ) {82 $handle = curl_init('http://mdbitz.com/installs.php?function=activate&app=WPAA&version=' . $wpaa_version );83 if (false !== $handle) {84 curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE);85 curl_setopt($handle, CURLOPT_NOBODY, true);86 $response = curl_exec($handle);87 curl_close($handle);88 }89 }90 }
Note: See TracChangeset
for help on using the changeset viewer.