Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/31/2020 11:33:35 AM (4 years ago)
Author:
imath
Message:

Prepare the inclusion of the BP REST API remaining endpoints

6.0.0 is introducing 6 new BP REST API endpoints :

  • Blogs, Blog avatar,
  • Friends,
  • Group Cover image,
  • Member Cover Image and User Signups

We're also reorganizing files, making sure they are located to their belonging endpoints. As a result, 2 files are now deprecated:

  • bp-core/classes/class-bp-rest-attachments-group-avatar-endpoint.php (moved into bp-groups/classes)
  • bp-core/classes/class-bp-rest-attachments-member-avatar-endpoint.php (moved into bp-members/classes)

Props espellcaste, boonebgorges & I ;)

Fixes #7156

File:
1 edited

Legend:

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

    r12559 r12607  
    3434            'BP_REST_Members_Endpoint',
    3535            'BP_REST_Attachments_Member_Avatar_Endpoint',
     36            'BP_REST_Attachments_Member_Cover_Endpoint',
    3637        ) );
    3738    }
     
    5051            'BP_REST_Components_Endpoint',
    5152            'BP_REST_Attachments_Member_Avatar_Endpoint',
     53            'BP_REST_Attachments_Member_Cover_Endpoint',
    5254        ) );
    5355    }
     
    6769            'BP_REST_Members_Endpoint',
    6870            'BP_REST_Attachments_Member_Avatar_Endpoint',
     71            'BP_REST_Attachments_Member_Cover_Endpoint',
    6972        ) );
    7073    }
Note: See TracChangeset for help on using the changeset viewer.