Ticket #6506: 6506.02.patch
File 6506.02.patch, 574 bytes (added by , 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 = '' ) { 412 412 413 413 // If trying to access notices without capabilities, redirect to root domain 414 414 if ( bp_is_current_action( 'notices' ) && !bp_current_user_can( 'bp_moderate' ) ) { 415 bp_core_redirect( bp_displayed_user_domain() );415 return false; 416 416 } 417 417 418 418 // Load the messages loop global up with messages