Skip to:
Content

BuddyPress.org

Changeset 3329


Ignore:
Timestamp:
10/28/2010 09:58:01 PM (14 years ago)
Author:
djpaul
Message:

Remove obsolete function, last used in pre-1.0rc2. Fixes #2511.

File:
1 edited

Legend:

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

    r3305 r3329  
    864864}
    865865
    866 function bp_your_or_their( $capitalize = true, $echo = true ) {
    867     global $bp;
    868 
    869     if ( $capitalize )
    870         $yourtext = bp_core_ucfirst($yourtext);
    871 
    872     if ( $bp->displayed_user->id == $bp->loggedin_user->id ) {
    873         if ( $echo )
    874             echo apply_filters( 'bp_your_or_their', $yourtext );
    875         else
    876             return apply_filters( 'bp_your_or_their', $yourtext );
    877     } else {
    878         if ( $echo )
    879             echo apply_filters( 'bp_your_or_their', $theirtext );
    880         else
    881             return apply_filters( 'bp_your_or_their', $theirtext );
    882     }
    883 }
    884866
    885867function bp_get_plugin_sidebar() {
Note: See TracChangeset for help on using the changeset viewer.