Skip to:
Content

BuddyPress.org

Ticket #4419: 4419.01.patch

File 4419.01.patch, 918 bytes (added by DJPaul, 11 years ago)
  • bp-core/bp-core-filters.php

    function bp_modify_page_title( $title, $sep, $seplocation ) { 
    309309                        $component_name = $bp->{$component_id}->id;
    310310                }
    311311
    312                 // translators: "displayed user's name | canonicalised component name"
    313                 $title = strip_tags( sprintf( __( '%1$s | %2$s', 'buddypress' ), bp_get_displayed_user_fullname(), ucwords( $component_name ) ) );
     312                // Construct the page title. 1 = user name, 2 = seperator, 3 = component name
     313                $title = strip_tags( sprintf( '%1$s %2$s %3$s', bp_get_displayed_user_fullname(), $sep, ucwords( $component_name ) ) );
    314314
    315315        // A single group
    316316        } elseif ( bp_is_active( 'groups' ) && !empty( $bp->groups->current_group ) && !empty( $bp->bp_options_nav[$bp->groups->current_group->slug] ) ) {