Plugin Directory

Changeset 355791


Ignore:
Timestamp:
03/05/2011 05:21:26 PM (15 years ago)
Author:
0xTC
Message:
 
Location:
wp-tweet-button/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-tweet-button/trunk/readme.txt

    r355781 r355791  
    125125== Changelog ==
    126126
    127 = 2.0.4.1 =
     127= 2.0.4.2 =
    128128* Improved shortlink handling in Wordpress 3.1. Shortlink settings in this plugin can be set as universal by checking the "Add rel=shortlink to head" box.
    129129
  • wp-tweet-button/trunk/wp-tweet-button.php

    r355781 r355791  
    22/*
    33Plugin Name: WP Tweet Button
    4 Version: 2.0.4.1
     4Version: 2.0.4.2
    55Plugin URI: http://0xtc.com/plugins/wp-tweet-button
    66Description: The WordPress implementation of the official Twitter Tweet Button.
     
    589589                remove_action(  'wp_head',                  'wp_shortlink_wp_head', 10, 0 );
    590590                add_action(     'wp_head', array(&$this,    'tw_add_rel_shortlink'));
    591                 add_filter('pre_get_shortlink', array(&$this, 'tw_get_short_url'));
     591                if (!$this->tw_get_option('tw_url_shortener') == 'wordpress') add_filter('pre_get_shortlink', array(&$this, 'tw_get_short_url'));
    592592            }
    593593        }
Note: See TracChangeset for help on using the changeset viewer.