Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2010 12:48:30 PM (15 years ago)
Author:
apeatling
Message:

Moving the firstname template function into the core so that template files are not tied to functions in functions.php of the default. Remove deprecated code and added to back compat plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/activity/post-form.php

    r2692 r2696  
    1717    <h5>
    1818        <?php if ( bp_is_group() ) : ?>
    19             <?php printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_dtheme_firstname() ) ?>
     19            <?php printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_get_user_firstname() ) ?>
    2020        <?php else : ?>
    21             <?php printf( __( "What's new %s?", 'buddypress' ), bp_dtheme_firstname() ) ?>
     21            <?php printf( __( "What's new %s?", 'buddypress' ), bp_get_user_firstname() ) ?>
    2222        <?php endif; ?>
    2323    </h5>
Note: See TracChangeset for help on using the changeset viewer.