Changeset 8994
- Timestamp:
- 09/08/2014 06:47:36 PM (10 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-adminbar.php
r8764 r8994 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 } -
trunk/src/bp-core/bp-core-theme-compatibility.php
r7794 r8994 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
Note: See TracChangeset
for help on using the changeset viewer.