Changeset 518808
- Timestamp:
- 03/14/2012 05:54:16 AM (14 years ago)
- Location:
- wp-emoji/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wp-emoji.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-emoji/trunk/readme.txt
r491681 r518808 33 33 34 34 = 1.1 = 35 * Fix bugs 36 = 1.1 = 35 37 * Internationalize 36 38 = 1.0 = 37 * 第一版39 * Released 38 40 39 41 == Upgrade Notice == -
wp-emoji/trunk/wp-emoji.php
r491681 r518808 4 4 * Plugin URI: http://appdp.com/ 5 5 * Description: 在你的博客里显示 Emoji 表情。Display Apple Emoji fonts(SoftBank) in your WordPress blog. 6 * Version: 1. 16 * Version: 1.2 7 7 * Author: Appdp.com 8 8 * Author URI: http://appdp.com/ … … 39 39 add_filter('preprocess_comment', 'comment_emoji_convertor', 99, 1); 40 40 function comment_emoji_convertor($commentdata){ 41 if(get_option('WPE_emoji_convert_to') == 'shortcode'){ 42 $commentdata['comment_content'] = emoji_unified_to_shortcode($commentdata['comment_content']); 43 } 44 if(get_option('WPE_emoji_convert_to') == 'image'){ 45 $commentdata['comment_content'] = emoji_unified_to_img($commentdata['comment_content']); 46 } 41 $commentdata['comment_content'] = emoji_unified_to_shortcode($commentdata['comment_content']); 47 42 return $commentdata; 48 43 } … … 77 72 $where_emoji_support = get_option('WPE_where_emoji_support')?get_option('WPE_where_emoji_support'):array(); 78 73 $emoji_convert_to = get_option('WPE_emoji_convert_to'); 74 echo json_encode(array('商品转换', '店铺转换', '商品搜索', '店铺搜索', '商品ID', '不同ID使用半角逗号分隔,最多支持10个ID', '转换', '商品转换结果')); 79 75 ?> 80 76 <div class="wrap">
Note: See TracChangeset
for help on using the changeset viewer.