Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/13/2010 04:01:07 PM (14 years ago)
Author:
apeatling
Message:

Replacing function_exists() checks with bp_is_active() checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r2907 r2919  
    248248    function bp_get_member_name() {
    249249        global $members_template;
     250
     251        var_dump( $members_template );
    250252
    251253        if ( empty($members_template->member->fullname) )
     
    688690}
    689691
    690 function bp_user_firstname() {
    691     echo bp_get_user_firstname();
     692function bp_user_firstname( $name = false ) {
     693    echo bp_get_user_firstname( $name );
    692694}
    693695    function bp_get_user_firstname( $name = false ) {
     
    989991function bp_search_form_type_select() {
    990992    global $bp;
    991    
     993
    992994    // Eventually this won't be needed and a page will be built to integrate all search results.
    993995    $selection_box = '<select name="search-which" id="search-which" style="width: auto">';
Note: See TracChangeset for help on using the changeset viewer.