XPressME Integration Kit

Trac

Changeset 279 for trunk


Ignore:
Timestamp:
Jun 15, 2009, 9:54:36 PM (15 years ago)
Author:
toemon
Message:

WP2011でxpress_defaultテーマheader.php読み込み時get_avater()でエラーになるバグ修正 fixes #150

File:
1 edited

Legend:

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

    r272 r279  
    3030        <div id="xpress-header-bar-top"> 
    3131                <div class="xpress-header-title"> 
    32                         <?php  if (xpress_selected_author_id('echo=0')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?> 
     32                        <?php  if (xpress_selected_author_id('echo=0') && function_exists('get_avatar')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?> 
    3333                        <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
    3434                </div> 
Note: See TracChangeset for help on using the changeset viewer.