[buddypress-trac] [BuddyPress Trac] #8511: Make sure all component main classes have a `block_init()` method

buddypress-trac noreply at wordpress.org
Mon Jul 12 19:48:20 UTC 2021

#8511: Make sure all component main classes have a `block_init()` method
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  9.0.0
Component:  Core          |     Version:  6.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"12994" 12994]:
 #!CommitTicketReference repository="" revision="12994"
 Make sure all BP components init their BP Blocks

 Even if some components don't have native BP Blocks, it makes it easier
 for developers to add their custom blocks or override existing BP Blocks
 or disable BP Blocks. Working on the BP Blocks feature as a plugin made us
 realize this.

 This commit also improves the `BP_Block` constructor inline documentation,
 adds a new method to the Core component to register REST controllers and
 moves the `BP_REST_Components_Endpoint` one from the Members component to
 the Core component.

 Fixes #8511

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8511#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list