XPressME Integration Kit

Trac

Changeset 658


Ignore:
Timestamp:
Sep 18, 2010, 7:20:51 PM (14 years ago)
Author:
toemon
Message:

新規投稿時などで、キャッシュが更新されない Fixes#374

File:
1 edited

Legend:

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

    r639 r658  
    145145                 
    146146                // Avoid the failure of the operation when switch_to_blog() and other plugin code is called on the admin page. 
    147                 $excludes = '|global_recent_posts_list_block.php|my_.*_block.php|global_recent_comments_block.php|global_popular_posts_block.php|'; 
    148                 if (preg_match('/' . $excludes . '/' , $func_file)) continue; 
     147                $excludes = 'global_recent_posts_list_block\.php|enhanced_block\.php|global_recent_comments_block\.php|global_popular_posts_block\.php'; 
     148                if (preg_match('/' . $excludes . '/' , $func_file)){ 
     149                        continue; 
     150                } 
    149151                 
    150152                $call_theme_function_name = str_replace(".php", "", $func_file);  
Note: See TracChangeset for help on using the changeset viewer.