WordPress.org

Plugin Directory

Changeset 518808


Ignore:
Timestamp:
03/14/12 05:54:16 (2 years ago)
Author:
bolo1988
Message:
 
Location:
wp-emoji/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-emoji/trunk/readme.txt

    r491681 r518808  
    3333 
    3434= 1.1 = 
     35* Fix bugs 
     36= 1.1 = 
    3537* Internationalize 
    3638= 1.0 = 
    37 * 第一版 
     39* Released 
    3840 
    3941== Upgrade Notice == 
  • wp-emoji/trunk/wp-emoji.php

    r491681 r518808  
    44 * Plugin URI: http://appdp.com/ 
    55 * Description: 在你的博客里显示 Emoji 表情。Display Apple Emoji fonts(SoftBank) in your WordPress blog. 
    6  * Version: 1.1 
     6 * Version: 1.2 
    77 * Author: Appdp.com 
    88 * Author URI: http://appdp.com/ 
     
    3939add_filter('preprocess_comment', 'comment_emoji_convertor', 99, 1); 
    4040function 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']); 
    4742    return $commentdata; 
    4843} 
     
    7772    $where_emoji_support = get_option('WPE_where_emoji_support')?get_option('WPE_where_emoji_support'):array(); 
    7873    $emoji_convert_to = get_option('WPE_emoji_convert_to'); 
     74    echo json_encode(array('商品转换', '店铺转换', '商品搜索', '店铺搜索', '商品ID', '不同ID使用半角逗号分隔,最多支持10个ID', '转换', '商品转换结果')); 
    7975    ?> 
    8076<div class="wrap"> 
Note: See TracChangeset for help on using the changeset viewer.