Changeset 130452
- Timestamp:
- 06/29/2009 03:47:28 PM (17 years ago)
- Location:
- tango-smilies/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
tango-smilies.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tango-smilies/trunk/readme.txt
r130446 r130452 4 4 Requires at least: 2.8 5 5 Tested up to: 2.8.1 6 Stable tag: 3. 26 Stable tag: 3.3 7 7 8 8 Replace the blocky default (GIF) smilies with beautiful Tango/GNOME (PNG) smilies. … … 30 30 1. Before -- yucky! 31 31 2. After -- hooray! 32 33 == Changelog == 34 35 = 3.3 = 36 * As of WordPress 2.8.1-beta2, we can now use '/' in a smiley. For example: ':-/' -
tango-smilies/trunk/tango-smilies.php
r130446 r130452 4 4 Plugin URI: http://wordpress.org/extend/plugins/tango-smilies/ 5 5 Description: Replace the blocky default (GIF) smilies with beautiful Tango/GNOME (PNG) smilies. 6 Version: 3. 26 Version: 3.3 7 7 Author: Jeff Waugh 8 8 Author URI: http://bethesignal.org/ … … 32 32 $plugurl = plugin_dir_url(__FILE__); 33 33 return preg_replace( 34 "#<img src=' $siteurl/wp-includes/images/smilies/#",35 "<img src=' $plugurl/tango/",34 "#<img src='{$siteurl}/wp-includes/images/smilies/#", 35 "<img src='{$plugurl}tango/", 36 36 $text 37 37 ); … … 40 40 41 41 function tango_smilies_init() { 42 global $wpsmiliestrans ;42 global $wpsmiliestrans, $wp_version; 43 43 44 44 if ( !isset($wpsmiliestrans) && get_option('use_smilies') ) { … … 106 106 107 107 // can only include smilies with "/" after 2.8.1-beta1 (see #9955) 108 if ( version_compare($wp_version, '2.8.1-beta1', '> =') ) {108 if ( version_compare($wp_version, '2.8.1-beta1', '>') ) { 109 109 $wpsmiliestrans += array( 110 110 ':-/' => 'face-uncertain.png',
Note: See TracChangeset
for help on using the changeset viewer.