Skip to:
Content

BuddyPress.org

Ticket #4736: trac4736_bp_ajax_missing_buttons_v2.patch

File trac4736_bp_ajax_missing_buttons_v2.patch, 518 bytes (added by magnus78, 13 years ago)

proposed fix, v2

  • bp-themes/bp-default/functions.php

     
    112112                add_theme_support( 'custom-header', $custom_header_args );
    113113        }
    114114
    115         if ( !is_admin() ) {
     115        if ( !is_admin() || ( defined('DOING_AJAX') && DOING_AJAX ) ) {
    116116                // Register buttons for the relevant component templates
    117117                // Friends button
    118118                if ( bp_is_active( 'friends' ) )