Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/21/2014 06:24:16 PM (7 years ago)
Author:
imath
Message:

Remove all links in titles of directory and single item pages

Since BuddyPress 1.7, to display the "Create" buttons (Blogs & Groups component) and links to the single item landing pages at a similar place to BP-Default, BP Theme Compat was adding links into the title of the WordPress post object. For 2.2, team has decided to remove all these links and find a better placement for them before the end of the dev-cycle.

See #6008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-screens.php

    r9109 r9157  
    236236    // grab the key (the old way)
    237237    $key = isset( $_GET['key'] ) ? $_GET['key'] : '';
    238  
     238
    239239    // grab the key (the new way)
    240240    if ( empty( $key ) ) {
     
    246246        return;
    247247    }
    248  
     248
    249249    // Activate the signup
    250250    $user = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $key ) );
     
    426426        bp_theme_compat_reset_post( array(
    427427            'ID'             => 0,
    428             'post_title'     => '<a href="' . bp_get_displayed_user_link() . '">' . bp_get_displayed_user_fullname() . '</a>',
     428            'post_title'     => bp_get_displayed_user_fullname(),
    429429            'post_author'    => 0,
    430430            'post_date'      => 0,
Note: See TracChangeset for help on using the changeset viewer.