Changeset 5247 for branches/2.5/includes/common/template.php
- Timestamp:
- 01/06/2014 07:33:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/common/template.php
r5177 r5247 2586 2586 // User is viewing someone else's profile (so use their display name) 2587 2587 } else { 2588 $new_title['text'] = get_userdata( bbp_get_user_id() )->display_name;2588 $new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name ); 2589 2589 } 2590 2590 2591 2591 // User topics created 2592 2592 if ( bbp_is_single_user_topics() ) { 2593 $new_title['format'] = esc_attr__( "%s 'sTopics", 'bbpress' );2593 $new_title['format'] = esc_attr__( "%s Topics", 'bbpress' ); 2594 2594 2595 2595 // User rueplies created 2596 2596 } elseif ( bbp_is_single_user_replies() ) { 2597 $new_title['format'] = esc_attr__( "%s 'sReplies", 'bbpress' );2597 $new_title['format'] = esc_attr__( "%s Replies", 'bbpress' ); 2598 2598 2599 2599 // User favorites 2600 2600 } elseif ( bbp_is_favorites() ) { 2601 $new_title['format'] = esc_attr__( "%s 'sFavorites", 'bbpress' );2601 $new_title['format'] = esc_attr__( "%s Favorites", 'bbpress' ); 2602 2602 2603 2603 // User subscriptions 2604 2604 } elseif ( bbp_is_subscriptions() ) { 2605 $new_title['format'] = esc_attr__( "%s 'sSubscriptions", 'bbpress' );2605 $new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' ); 2606 2606 2607 2607 // User "home" 2608 2608 } else { 2609 $new_title['format'] = esc_attr__( "%s 'sProfile", 'bbpress' );2609 $new_title['format'] = esc_attr__( "%s Profile", 'bbpress' ); 2610 2610 } 2611 2611
Note: See TracChangeset
for help on using the changeset viewer.