diff --git src/bp-core/bp-core-adminbar.php src/bp-core/bp-core-adminbar.php
index 4207e53bd..91750d15b 100644
|
|
function bp_admin_bar_my_account_root() { |
39 | 39 | 'class' => 'ab-sub-secondary' |
40 | 40 | ) |
41 | 41 | ) ); |
42 | | |
43 | | // Remove 'Edit' post link as it's not applicable to BP. |
44 | | // Remove when https://core.trac.wordpress.org/ticket/29538 is addressed. |
45 | | if ( is_buddypress() ) { |
46 | | $wp_admin_bar->remove_node( 'edit' ); |
47 | | } |
48 | 42 | } |
49 | 43 | } |
50 | 44 | add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 ); |