Skip to:
Content

BuddyPress.org

Ticket #6506: 6506.02.patch

File 6506.02.patch, 574 bytes (added by boonebgorges, 9 years ago)
  • src/bp-messages/bp-messages-template.php

    diff --git src/bp-messages/bp-messages-template.php src/bp-messages/bp-messages-template.php
    index c1df3db..ce8f6c5 100644
    function bp_has_message_threads( $args = '' ) { 
    412412
    413413        // If trying to access notices without capabilities, redirect to root domain
    414414        if ( bp_is_current_action( 'notices' ) && !bp_current_user_can( 'bp_moderate' ) ) {
    415                 bp_core_redirect( bp_displayed_user_domain() );
     415                return false;
    416416        }
    417417
    418418        // Load the messages loop global up with messages