Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2019 03:24:50 AM (5 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

See #8151 (Trunk)

File:
1 edited

Legend:

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

    r12485 r12488  
    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.