Skip to:
Content

BuddyPress.org

Ticket #2764: 2764.001.patch

File 2764.001.patch, 941 bytes (added by r-a-y, 14 years ago)
  • buddypress/bp-themes/bp-default/functions.php

     
    356356if ( bp_is_active( 'blogs' ) )
    357357        add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
    358358
     359// Sidebar buttons
     360if ( bp_is_active( 'messages' ) )
     361        add_action( 'bp_after_sidebar_me', 'bp_message_get_notices' );
     362
    359363?>
  • buddypress/bp-themes/bp-default/sidebar.php

     
    2222
    2323                <?php do_action( 'bp_after_sidebar_me' ) ?>
    2424
    25                 <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
    26                         <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
    27                 <?php endif; ?>
    28 
    2925        <?php else : ?>
    3026
    3127                <?php do_action( 'bp_before_sidebar_login_form' ) ?>