Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/11/2011 05:41:53 PM (11 years ago)
Author:
djpaul
Message:

Swap function_exists calls to bp_is_active in BP-Default. See #2718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/sidebar.php

    r3466 r3698  
    2323        <?php do_action( 'bp_after_sidebar_me' ) ?>
    2424
    25         <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
     25        <?php if ( bp_is_active( 'messages' ) ) : ?>
    2626            <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
    2727        <?php endif; ?>
     
    6161
    6262            <h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3>
    63             <?php if ( function_exists('bp_forums_tag_heat_map') ) : ?>
     63            <?php if ( bp_is_active( 'forums' ) ) : ?>
    6464                <div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div>
    6565            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.