Changeset 132666
- Timestamp:
- 07/07/2009 11:46:04 AM (17 years ago)
- Location:
- twitter-for-wordpress/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
twitter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
twitter-for-wordpress/trunk/readme.txt
r79473 r132666 2 2 Tags: twitter 3 3 Requires at least: 2.1 4 Tested up to: 2.74 Tested up to: 3.0 5 5 Stable tag: trunk 6 6 Donate link: http://rick.jinlabs.com/donate/ … … 47 47 48 48 [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 49 50 [Michael Feichtinger](http://bohuco.net/blog) - For the multi-widget feature. 51 52 Michael Voigt - #trendingtopics regexp 50 53 51 54 == Contact == -
twitter-for-wordpress/trunk/twitter.php
r126377 r132666 3 3 /* 4 4 Plugin Name: Twitter for Wordpress 5 Version: 1.9. 45 Version: 1.9.5 6 6 Plugin URI: http://rick.jinlabs.com/code/twitter 7 7 Description: 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>. … … 117 117 // match name@address 118 118 $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); 119 121 return $text; 120 122 }
Note: See TracChangeset
for help on using the changeset viewer.