Skip to:
Content

BuddyPress.org

Changeset 2629


Ignore:
Timestamp:
02/08/2010 02:24:03 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1814

File:
1 edited

Legend:

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

    r2614 r2629  
    2929
    3030    $fullname = (array)explode( ' ', $name );
     31    $firstname = apply_filters( 'bp_dtheme_firstname', $firstname, $fullname );
    3132
    3233    if ( $echo )
    33         echo $fullname[0];
     34        echo $firstname;
    3435    else
    35         return $fullname[0];
     36        return $firstname;
    3637}
    3738
Note: See TracChangeset for help on using the changeset viewer.