[buddypress-trac] [BuddyPress Trac] #8849: Sitewide Notices REST API Endpoint is not initialised

buddypress-trac noreply at wordpress.org
Tue Mar 7 23:33:48 UTC 2023


#8849: Sitewide Notices REST API Endpoint is not initialised
--------------------------+-----------------------------
 Reporter:  sjregan       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  11.1.0
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The BP_REST_Sitewide_Notices_Endpoint class is not registered within the
 messages component rest_api_init() method:

 https://github.com/buddypress/buddypress/blob/master/src/bp-
 messages/classes/class-bp-messages-component.php#L441

 This can be seen by enabling the Messages component and visiting the API
 endpoint:
 /wp-json/buddypress/v1/

 The "/wp-json/buddypress/v1/messages" endpoint will be present, but "/wp-
 json/buddypress/v1/sitewide-notices" will not.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8849>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list