Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/09/2023 06:30:55 PM (21 months ago)
Author:
imath
Message:

BP REST API: make sure the SiteWide notice endpoint is available

The corresponding REST Controller wasn't added to list of controllers to
load from the Messages component's rest_api_init() method.

Props sjregan

Closes https://github.com/buddypress/buddypress/pull/72
Fixes #8849

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r13432 r13435  
    771771
    772772            'BP_REST_Messages_Endpoint'                  => 'messages',
     773            'BP_REST_Sitewide_Notices_Endpoint'          => 'messages',
    773774
    774775            'BP_REST_Notifications_Endpoint'             => 'notifications',
Note: See TracChangeset for help on using the changeset viewer.