diff --git src/bp-groups/bp-groups-screens.php src/bp-groups/bp-groups-screens.php
index e89c72b..db903bb 100644
|
|
|
class BP_Groups_Theme_Compat { |
| 1220 | 1220 | * @since BuddyPress (1.7.0) |
| 1221 | 1221 | */ |
| 1222 | 1222 | public function single_dummy_post() { |
| | 1223 | $item_name = bp_get_current_group_name(); |
| | 1224 | |
| | 1225 | $title = apply_filters( 'bp_single_item_title', sprintf( |
| | 1226 | '<a href="%s">%s</a>', |
| | 1227 | bp_get_group_permalink( groups_get_current_group() ), |
| | 1228 | $item_name |
| | 1229 | ), $item_name ); |
| | 1230 | |
| 1223 | 1231 | bp_theme_compat_reset_post( array( |
| 1224 | 1232 | 'ID' => 0, |
| 1225 | | 'post_title' => '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . '">' . bp_get_current_group_name() . '</a>', |
| | 1233 | 'post_title' => $title, |
| 1226 | 1234 | 'post_author' => 0, |
| 1227 | 1235 | 'post_date' => 0, |
| 1228 | 1236 | 'post_content' => '', |
diff --git src/bp-members/bp-members-screens.php src/bp-members/bp-members-screens.php
index 80f5565..064437a 100644
|
|
|
function bp_core_screen_activation() { |
| 235 | 235 | |
| 236 | 236 | // grab the key (the old way) |
| 237 | 237 | $key = isset( $_GET['key'] ) ? $_GET['key'] : ''; |
| 238 | | |
| | 238 | |
| 239 | 239 | // grab the key (the new way) |
| 240 | 240 | if ( empty( $key ) ) { |
| 241 | 241 | $key = bp_current_action(); |
| … |
… |
function bp_core_screen_activation() { |
| 245 | 245 | if ( empty( $key ) ) { |
| 246 | 246 | return; |
| 247 | 247 | } |
| 248 | | |
| | 248 | |
| 249 | 249 | // Activate the signup |
| 250 | 250 | $user = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $key ) ); |
| 251 | 251 | |
| … |
… |
class BP_Members_Theme_Compat { |
| 423 | 423 | * @since BuddyPress (1.7.0) |
| 424 | 424 | */ |
| 425 | 425 | public function single_dummy_post() { |
| | 426 | $item_name = bp_get_displayed_user_fullname(); |
| | 427 | |
| | 428 | $title = apply_filters( 'bp_single_item_title', sprintf( |
| | 429 | '<a href="%s">%s</a>', |
| | 430 | bp_get_displayed_user_link(), |
| | 431 | $item_name |
| | 432 | ), $item_name ); |
| | 433 | |
| 426 | 434 | bp_theme_compat_reset_post( array( |
| 427 | 435 | 'ID' => 0, |
| 428 | | 'post_title' => '<a href="' . bp_get_displayed_user_link() . '">' . bp_get_displayed_user_fullname() . '</a>', |
| | 436 | 'post_title' => $title, |
| 429 | 437 | 'post_author' => 0, |
| 430 | 438 | 'post_date' => 0, |
| 431 | 439 | 'post_content' => '', |