- Timestamp:
- Aug 12, 2009, 8:45:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/category_block_theme.php
r262 r362 38 38 'depth' => $depth 39 39 ); 40 $block['categories'] = wp_list_categories($param); 40 if ( xpress_is_wp_version('>=','2.3') ) { 41 $block['categories'] = wp_list_categories($param); 42 } else { // not suport echo flag 43 ob_start(); 44 wp_list_categories($param); 45 $block['categories'] = ob_get_contents(); 46 ob_end_clean(); 47 } 41 48 } else { 42 49 if (empty($show_option_all))
Note: See TracChangeset
for help on using the changeset viewer.