Skip to:
Content

BuddyPress.org

Ticket #5853: 5853.01.patch

File 5853.01.patch, 466 bytes (added by r-a-y, 12 years ago)
  • src/bp-core/bp-core-theme-compatibility.php

     
    556556
    557557        // If we are resetting a post, we are in theme compat
    558558        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' );
    559562}
    560563
    561564/**