WordPress.org

Plugin Directory

Changeset 691330


Ignore:
Timestamp:
04/03/13 19:15:46 (13 months ago)
Author:
joedolson
Message:

Bug fix: Goo.gl URL shortener.

Location:
wp-to-twitter/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-to-twitter/trunk/readme.txt

    r690784 r691330  
    5151 
    5252== Changelog == 
     53 
     54= 2.6.1 = 
     55 
     56* Bug in Goo.gl URL shortening. Incorrect URL posted. 
     57* Translatable role names for Permissions. 
    5358 
    5459= 2.6.0 = 
  • wp-to-twitter/trunk/wp-to-twitter-manager.php

    r690784 r691330  
    652652        global $wp_roles; 
    653653        $roles = $wp_roles->get_names(); 
    654         $options = ''; 
    655         $permissions = ''; 
    656         $switcher = ''; 
    657         $can_tweet = ''; 
     654        $roles = array_map( 'translate_user_role', $roles ); 
     655        $options = $permissions = $switcher = $can_tweet = ''; 
    658656        foreach ( $roles as $role=>$rolename ) { 
    659657            $permissions .= ($role !='subscriber')?"<option value='$role'".wtt_option_selected(get_option('wtt_user_permissions'),$role,'option').">$rolename</option>\n":''; 
  • wp-to-twitter/trunk/wp-to-twitter-shorteners.php

    r690784 r691330  
    148148                case 8: 
    149149                // Goo.gl 
    150                     $url = "https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBSnqQOg3vX1gwR7y2l-40yEG9SZiaYPUQ"; 
    151150                    $link = urldecode($url); 
     151                    $url = "https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBSnqQOg3vX1gwR7y2l-40yEG9SZiaYPUQ";                     
    152152                    $body = "{'longUrl':'$link'}"; 
    153153                    //$body = json_encode($data); 
  • wp-to-twitter/trunk/wp-to-twitter.php

    r690784 r691330  
    44Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/ 
    55Description: Posts a Tweet when you update your WordPress blog or post to your blogroll, using your chosen URL shortening service. Rich in features for customizing and promoting your Tweets. 
    6 Version: 2.6.0 
     6Version: 2.6.1 
    77Author: Joseph Dolson 
    88Author URI: http://www.joedolson.com/ 
     
    5050 
    5151global $wpt_version,$jd_plugin_url; 
    52 $wpt_version = "2.6.0"; 
     52$wpt_version = "2.6.1"; 
    5353$plugin_dir = basename(dirname(__FILE__)); 
    5454load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); 
Note: See TracChangeset for help on using the changeset viewer.