XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 6, 2009, 5:16:22 PM (15 years ago)
Author:
toemon
Message:

途中経過でインストール、アップデートできなくなってしまっていたバグ修正
イベント通知の部分をFix、(ゲストのモジュールアクセス権限がないと通知できないのは直らない)
ブロックのキャッシュを見直し、キャッシュがない場合と、ブロックオプションが変更された場合にリフレッシュする機能を追加
ブロックキャッシュの更新にてポスト削除時のイベントをDB削除前にとっていたバグを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/xpressme.php

    r95 r96  
    2727        remove_action( 'pre_post_update', 'wp_save_post_revision' );                    // Not Save Post Revision 
    2828} 
     29 
     30//XOOPS Bloack Cache Refresh 
    2931add_action("comment_post",      "block_cache_refresh"); 
    3032add_action("edit_comment",      "block_cache_refresh"); 
    31 add_action("delete_comment","block_cache_refresh"); 
    32 add_action("delete_post",       "block_cache_refresh"); 
     33add_action("wp_set_comment_status","block_cache_refresh"); //wp_delete_comment() at deleted 
     34add_action("deleted_post",      "block_cache_refresh"); 
    3335add_action("publish_post",      "block_cache_refresh"); 
    3436add_action("edit_post",         "block_cache_refresh"); 
    3537add_action("private_to_published",      "block_cache_refresh"); 
    36 add_action("wp_set_comment_status" , "block_cache_refresh"); 
     38add_action("transition_post_status", "block_cache_refresh"); 
    3739 
    3840add_action("the_content",       "set_post_views_count"); 
Note: See TracChangeset for help on using the changeset viewer.