XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 4, 2009, 2:02:54 PM (15 years ago)
Author:
toemon
Message:

WordPressME2.0.11への対応,(ブロック周りは未完)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/tag_cloud_block_theme.php

    r122 r252  
    2525                'include' => $wp_include 
    2626        ); 
    27         ob_start(); 
    28                 wp_tag_cloud($param); 
    29                 $output = ob_get_contents(); 
    30         ob_end_clean();  
    31  
     27        if (function_exists('wp_tag_cloud')) { 
     28                ob_start(); 
     29                        wp_tag_cloud($param); 
     30                        $output = ob_get_contents(); 
     31                ob_end_clean();  
     32        } else { 
     33                $output = 'not function wp_tag_cloud()'; 
     34        } 
    3235        $block['tag_cloud'] = $output;                                                           
    3336        return $block ;  
Note: See TracChangeset for help on using the changeset viewer.