Changeset 381634
- Timestamp:
- 05/06/2011 09:08:20 AM (15 years ago)
- Location:
- qqpress/trunk
- Files:
-
- 2 edited
-
qqpress.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qqpress/trunk/qqpress.php
r381088 r381634 19 19 add_action('admin_menu', 'qc_options_add_page'); 20 20 add_action('wp_insert_post', 'qqpress_run'); 21 add_option('qqpress_message', '新日志:[title] [ link]', '', 'yes');21 add_option('qqpress_message', '新日志:[title] [permalink]', '', 'yes'); 22 22 23 23 function qc_init() { … … 167 167 168 168 $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); 170 170 $proto = str_replace("[link]", get_option('home')."?p=".$postID, $proto); 171 171 -
qqpress/trunk/readme.txt
r381088 r381634 30 30 31 31 == Changelog == 32 = 1.11 = 33 * 2011/05/06 34 * 修正插件在进行微博同步时获取日志永久链接错误的bug 32 35 = 1.1 = 33 36 * 2011/05/05
Note: See TracChangeset
for help on using the changeset viewer.