diff --git src/bp-core/bp-core-filters.php src/bp-core/bp-core-filters.php
index 069014a..34036f9 100644
|
|
|
function bp_core_activation_signup_user_notification( $user, $user_email, $key,
|
| 370 | 370 | return $user; |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | | /** |
| | 373 | /** |
| 374 | 374 | * There can be a case where the user was created without the skip confirmation |
| 375 | 375 | * And the super admin goes in pending accounts to resend it. In this case, as the |
| 376 | 376 | * meta['password'] is not set, the activation url must be WordPress one |
| … |
… |
add_filter( 'wp_setup_nav_menu_item', 'bp_setup_nav_menu_item', 10, 1 );
|
| 605 | 605 | function bp_filter_metaid_column_name( $q ) { |
| 606 | 606 | return str_replace( 'meta_id', 'id', $q ); |
| 607 | 607 | } |
| | 608 | |
| | 609 | function bp_core_edit_post_link( $edit_link = '', $post_id = 0 ) { |
| | 610 | if ( 0 === $post_id ) { |
| | 611 | $edit_link = false; |
| | 612 | } |
| | 613 | |
| | 614 | return $edit_link; |
| | 615 | } |
diff --git src/bp-core/bp-core-theme-compatibility.php src/bp-core/bp-core-theme-compatibility.php
index 7911c5b..bfaa4ae 100644
|
|
|
function bp_theme_compat_reset_post( $args = array() ) {
|
| 558 | 558 | bp_set_theme_compat_active( true ); |
| 559 | 559 | |
| 560 | 560 | // If we are in theme compat, we don't need the 'Edit' post link |
| 561 | | add_filter( 'get_edit_post_link', '__return_false' ); |
| | 561 | add_filter( 'get_edit_post_link', 'bp_core_edit_post_link', 10, 2 ); |
| 562 | 562 | } |
| 563 | 563 | |
| 564 | 564 | /** |