Ticket #5853: 5853.02.patch
| File 5853.02.patch, 1005 bytes (added by , 12 years ago) |
|---|
-
src/bp-core/bp-core-adminbar.php
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 } 42 48 } 43 49 } 44 50 add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 ); -
src/bp-core/bp-core-theme-compatibility.php
556 556 557 557 // If we are resetting a post, we are in theme compat 558 558 bp_set_theme_compat_active( true ); 559 560 // If we are in theme compat, we don't need the 'Edit' post link 561 add_filter( 'get_edit_post_link', '__return_false' ); 559 562 } 560 563 561 564 /**
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)