Plugin Directory

Changeset 864756


Ignore:
Timestamp:
02/25/2014 02:56:52 PM (12 years ago)
Author:
srijith.v
Message:

Releasing new version

Location:
addthis-follow/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • addthis-follow/trunk/addthis-follow.php

    r857049 r864756  
    2525 * Plugin URI: http://www.addthis.com
    2626 * Description: Generate followers for your social networks and track what pages are generating the most followers
    27  * Version: 1.2.5
     27 * Version: 1.2.6
    2828 *
    2929 * Author: The AddThis Team
    3030 * Author URI: http://www.addthis.com/blog
    3131 */
    32 define( 'ADDTHIS_FOLLOW_PLUGIN_VERSION' , '1.2.5');
     32define( 'ADDTHIS_FOLLOW_PLUGIN_VERSION' , '1.2.6');
    3333define( 'ADDTHIS_FOLLOW_PRODUCT_VERSION' , 'wpp');
    3434define( 'ADDTHIS_FOLLOW_ATVERSION', '300');
     
    568568    $profile = $options['profile'];
    569569    if ($profile) {
    570         $ch = curl_init();
    571         curl_setopt($ch, CURLOPT_URL, "http://q.addthis.com/feeds/1.0/config.json?pubid=" . $profile);
    572 
    573         // receive server response ...
    574         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    575 
    576         // further processing ....
    577         $server_output = curl_exec($ch);
    578         curl_close($ch);
    579        
     570        $request = wp_remote_get( "http://q.addthis.com/feeds/1.0/config.json?pubid=" . $profile );
     571        $server_output = wp_remote_retrieve_body( $request );
    580572        $array = json_decode($server_output);
    581573        // check for pro user
  • addthis-follow/trunk/readme.txt

    r857049 r864756  
    44Requires at least: 2.9
    55Tested up to: 3.8.1
    6 Stable tag: 1.2.5
     6Stable tag: 1.2.6
    77
    88AddThis Follow Buttons help visitors follow your social profiles on Facebook, Twitter, Pinterest, Google+, LinkedIn and other social networks.
     
    6969
    7070== Changelog ==
     71
     72= 1.2.6 =
     73* Support for servers without CURL
     74
    7175= 1.2.5 =
    7276* Minor bug fix
Note: See TracChangeset for help on using the changeset viewer.