Plugin Directory

Changeset 419870


Ignore:
Timestamp:
08/05/2011 06:57:48 PM (15 years ago)
Author:
mortay
Message:

Repaired malfunction in twitter counter

Location:
social-counters/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • social-counters/trunk/counters/twitter.php

    r415823 r419870  
    161161       
    162162        $url_request_params = '';
    163         if ( !empty($data) ) {
    164             $data = unserialize($data);
     163        if ( !empty($data) && function_exists('json_decode') ) {
     164            $data = json_decode($data);
    165165               
    166             if ( isset($data['count']) )
    167                 $shared_counter = $data['count'];
     166            if ( isset($data->count) && $data->count > $shared_counter )
     167                $shared_counter = $data->count;
    168168        }
    169169       
  • social-counters/trunk/readme.txt

    r418620 r419870  
    44Requires at least: 2.9
    55Tested up to: 3.2.1
    6 Stable tag: 2.2.0
     6Stable tag: 2.2.2
    77
    88It allows to place social sharing links with counters (if available) to the most popular social networks: Menéame,Twitter,Facebook,...
     
    5252== Changelog ==
    5353
     54= 2.2.2 =
     55* Repaired malfunction in Twitter counter
     56
    5457= 2.2.1 =
    5558* Updated CSS Version
  • social-counters/trunk/social-counters.php

    r418620 r419870  
    44Plugin URI: http://blogestudio.com/plugin/social-counters/
    55Description:  Get Counters from Social Webs
    6 Version: 2.2.0
     6Version: 2.2.2
    77Author: Alejandro Carravedo (Blogestudio)
    88Author URI: http://blogestudio.com
     
    3131
    32322.2.1   - Actualizada version del CSS
     33
     342.2.2   - Reparado "desperfecto" en el contador de Twitter.
    3335       
    3436*** Configuraciones ***
Note: See TracChangeset for help on using the changeset viewer.