Changeset 5246 for trunk/includes/common/template.php
- Timestamp:
- 01/06/2014 07:32:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/template.php
r5230 r5246 2596 2596 // User is viewing someone else's profile (so use their display name) 2597 2597 } else { 2598 $new_title['text'] = get_userdata( bbp_get_user_id() )->display_name;2598 $new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name ); 2599 2599 } 2600 2600 2601 2601 // User topics created 2602 2602 if ( bbp_is_single_user_topics() ) { 2603 $new_title['format'] = esc_attr__( "%s 'sTopics", 'bbpress' );2603 $new_title['format'] = esc_attr__( "%s Topics", 'bbpress' ); 2604 2604 2605 2605 // User rueplies created 2606 2606 } elseif ( bbp_is_single_user_replies() ) { 2607 $new_title['format'] = esc_attr__( "%s 'sReplies", 'bbpress' );2607 $new_title['format'] = esc_attr__( "%s Replies", 'bbpress' ); 2608 2608 2609 2609 // User favorites 2610 2610 } elseif ( bbp_is_favorites() ) { 2611 $new_title['format'] = esc_attr__( "%s 'sFavorites", 'bbpress' );2611 $new_title['format'] = esc_attr__( "%s Favorites", 'bbpress' ); 2612 2612 2613 2613 // User subscriptions 2614 2614 } elseif ( bbp_is_subscriptions() ) { 2615 $new_title['format'] = esc_attr__( "%s 'sSubscriptions", 'bbpress' );2615 $new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' ); 2616 2616 2617 2617 // User "home" 2618 2618 } else { 2619 $new_title['format'] = esc_attr__( "%s 'sProfile", 'bbpress' );2619 $new_title['format'] = esc_attr__( "%s Profile", 'bbpress' ); 2620 2620 } 2621 2621
Note: See TracChangeset
for help on using the changeset viewer.