Skip to:
Content

BuddyPress.org

Ticket #6962: 6962.01.patch

File 6962.01.patch, 446 bytes (added by r-a-y, 8 years ago)
  • src/bp-core/bp-core-attachments.php

     
    10331033        $retval = false;
    10341034
    10351035        $current_component = bp_current_component();
    1036         if ( 'profile' === $current_component ) {
     1036        if ( bp_is_active( 'xprofile' ) && bp_is_current_component( 'xprofile' ) ) {
    10371037                $current_component = 'xprofile';
    10381038        }
    10391039