Changeset 540 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
- Timestamp:
- Mar 14, 2010, 12:54:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r477 r540 137 137 require_once get_xpress_dir_path() . '/include/xpress_block_render.php'; 138 138 139 140 139 foreach($blocks as $block){ 141 140 $func_file = $block->func_file; 141 142 // Avoid the failure of the operation when switch_to_blog() and other plugin code is called on the admin page. 143 $excludes = '|global_recent_posts_list_block.php|my_.*_block.php|'; 144 if (preg_match('/' . $excludes . '/' , $func_file)) continue; 145 142 146 $call_theme_function_name = str_replace(".php", "", $func_file); 143 147 $inc_theme_file_name = str_replace(".php", "", $func_file) . '_theme.php';
Note: See TracChangeset
for help on using the changeset viewer.