Plugin Directory

Changeset 132666


Ignore:
Timestamp:
07/07/2009 11:46:04 AM (17 years ago)
Author:
RickGC
Message:
 
Location:
twitter-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • twitter-for-wordpress/trunk/readme.txt

    r79473 r132666  
    22Tags: twitter
    33Requires at least: 2.1
    4 Tested up to: 2.7
     4Tested up to: 3.0
    55Stable tag: trunk
    66Donate link: http://rick.jinlabs.com/donate/
     
    4747
    4848[Ronald Heft](http://cavemonkey50.com/) - The plugin is highly based in his Pownce for Wordpress, so the major part of the credits goes to him.
     49
    4950[Michael Feichtinger](http://bohuco.net/blog) - For the multi-widget feature.
     51
     52Michael Voigt - #trendingtopics regexp
    5053
    5154== Contact ==
  • twitter-for-wordpress/trunk/twitter.php

    r126377 r132666  
    33/*
    44Plugin Name: Twitter for Wordpress
    5 Version: 1.9.4
     5Version: 1.9.5
    66Plugin URI: http://rick.jinlabs.com/code/twitter
    77Description: Displays your public Twitter messages for all to read. Based on <a href="http://cavemonkey50.com/code/pownce/">Pownce for Wordpress</a> by <a href="http://cavemonkey50.com/">Cavemonkey50</a>.
     
    117117    // match name@address
    118118    $text = preg_replace("/\s([a-zA-Z][a-zA-Z0-9\_\.\-]*[a-zA-Z]*\@[a-zA-Z][a-zA-Z0-9\_\.\-]*[a-zA-Z]{2,6})([\s|\.|\,])/i"," <a href=\"mailto://$1\" class=\"twitter-link\">$1</a>$2", $text);   
     119    //mach #trendingtopics. Props to Michael Voigt
     120    $text = preg_replace('/([\.|\,|\:|\¡|\¿|\>|\{|\(]?)#{1}(\w*)([\.|\,|\:|\!|\?|\>|\}|\)]?)\s/i', "$1<a href=\"http://twitter.com/#search?q=$2\" class=\"twitter-link\">#$2</a>$3 ", $text);
    119121    return $text;
    120122}
Note: See TracChangeset for help on using the changeset viewer.