Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2019 03:28:04 AM (4 years ago)
Author:
imath
Message:

Load the Member Avatar REST Controller from xProfile's component class

The Member Avatar feature needs the xProfile component to be active to be able to upload and delete local avatars. The developer documentation has been updated to inform about this requirement.

props espellcaste

Fixes #8151 (Branch 5.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tests/phpunit/testcases/core/class-bp-component.php

    r12484 r12489  
    3333            'BP_REST_Components_Endpoint',
    3434            'BP_REST_Members_Endpoint',
    35             'BP_REST_Attachments_Member_Avatar_Endpoint',
    3635        ) );
    3736    }
     
    4948        $this->assertSame( $bp->unit_test_rest->controllers, array(
    5049            'BP_REST_Components_Endpoint',
    51             'BP_REST_Attachments_Member_Avatar_Endpoint',
    5250        ) );
    5351    }
     
    6664            'BP_REST_Components_Endpoint',
    6765            'BP_REST_Members_Endpoint',
    68             'BP_REST_Attachments_Member_Avatar_Endpoint',
    6966        ) );
    7067    }
Note: See TracChangeset for help on using the changeset viewer.