Plugin Directory

Changeset 381634


Ignore:
Timestamp:
05/06/2011 09:08:20 AM (15 years ago)
Author:
cooiky
Message:
 
Location:
qqpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qqpress/trunk/qqpress.php

    r381088 r381634  
    1919add_action('admin_menu', 'qc_options_add_page');
    2020add_action('wp_insert_post', 'qqpress_run');
    21 add_option('qqpress_message', '新日志:[title] [link]', '', 'yes');
     21add_option('qqpress_message', '新日志:[title] [permalink]', '', 'yes');
    2222
    2323function qc_init() {
     
    167167
    168168    $proto = str_replace("[title]", $post->post_title, $proto);
    169     $proto = str_replace("[permalink]", $post->guid, $proto);
     169    $proto = str_replace("[permalink]", get_permalink($postID), $proto);
    170170    $proto = str_replace("[link]", get_option('home')."?p=".$postID, $proto);
    171171
  • qqpress/trunk/readme.txt

    r381088 r381634  
    3030
    3131== Changelog ==
     32= 1.11 =
     33* 2011/05/06
     34* 修正插件在进行微博同步时获取日志永久链接错误的bug
    3235= 1.1 =
    3336* 2011/05/05
Note: See TracChangeset for help on using the changeset viewer.