Skip to:
Content

BuddyPress.org

Changeset 6876


Ignore:
Timestamp:
04/01/2013 04:54:10 PM (11 years ago)
Author:
r-a-y
Message:

Remove duplicate group title on group pages. See #4880.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r6777 r6876  
    10721072        bp_theme_compat_reset_post( array(
    10731073            'ID'             => 0,
    1074             'post_title'     => bp_get_current_group_name(),
     1074            'post_title'     => '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . '">' . bp_get_current_group_name() . '</a>',
    10751075            'post_author'    => 0,
    10761076            'post_date'      => 0,
  • trunk/bp-templates/bp-legacy/buddypress/groups/single/group-header.php

    r6795 r6876  
    3939
    4040<div id="item-header-content">
    41     <h2><a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>"><?php bp_group_name(); ?></a> <span class="highlight">(<?php bp_group_type(); ?>)</span></h2>
     41    <span class="highlight"><?php bp_group_type(); ?></span>
    4242    <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>
    4343
Note: See TracChangeset for help on using the changeset viewer.