Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

#8731 closed enhancement (fixed)

BP Block API should support WP Block API v2

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 11.0.0 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

Since the BP Block API was introduced, the WP Block API got a lot of improvements (see v2). I believe we need to make sure to be compatible with it and especially with using a block.json file to register a block.

The patch attached to this ticket has been tested successfully with our current v1 blocks and BP Attachments (v2) blocks.

I'll commit it shortly.

Attachments (1)

8731.patch (10.5 KB) - added by imath 2 years ago.

Download all attachments as: .zip

Change History (2)

@imath
2 years ago

#1 @imath
2 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13321:

BP Block API: add WP Block API v2 support

The BP Block API now contains all new v2 settings support as well as improvements about language translation loading for external BuddyPress plugins and a specific buddypress_contexts setting to control in which BuddyPress context a block can be loaded (eg: the future BP Activity Block editor).

Fixes #8731

Note: See TracTickets for help on using tickets.