Plugin Directory

Changeset 421932


Ignore:
Timestamp:
08/11/2011 01:01:10 AM (14 years ago)
Author:
mdbitz
Message:

Removal of Statistical Tracking of Plugin Usage - per newly communicated Plugin Guidelines

Location:
wordpress-amazon-associate/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wordpress-amazon-associate/trunk/WPAA.php

    r419803 r421932  
    913913            $this->options['Version'] = $this->version;
    914914            update_option($this->config_options_name, $this->options);
    915             // send site installation information
    916             // Information Sent:
    917             //    APP -> WPAA (WordPress-Amazon-Associate)
    918             //    old -> Previous Plugin Version
    919             //    new -> Current Plugin Version
    920             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             }
    930915        }
    931916    }
  • wordpress-amazon-associate/trunk/readme.txt

    r419803 r421932  
    187187
    188188The 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/)
    189192
    190193= 1.7.3 - 08/05/2011 =
  • wordpress-amazon-associate/trunk/wordpress_amazon_associate.php

    r419803 r421932  
    55  Description: Quickly and eaily monetize your webiste through the integration of Amazon products and widgets tagged with your associate id.
    66  Author: MDBitz - Matthew John Denton
    7   Version: 1.7.3
     7  Version: 1.7.4
    88  Requires at least: 3.0.0
    99  Author URI: http://labs.mdbitz.com
     
    4444global $wpaa_version;
    4545global $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";
    4848
    4949// load Admin Class
     
    5151spl_autoload_register(array('WPAA', 'autoload'));
    5252$wpaa = new WPAA( $wpaa_version, $wpaa_update_date );
    53 
    54 // deactivation
    55 register_deactivation_hook( __FILE__, 'wpaa_deactivate');
    56 
    57 /**
    58  * send site uninstall information
    59  */
    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 // deactivation
    74 register_activation_hook( __FILE__, 'wpaa_activate');
    75 
    76 /**
    77  * send site activation information
    78  */
    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.