Opened 3 years ago
Closed 3 years ago
#8855 closed defect (bug) (fixed)
Use block.json metadata file and adapt BP Block API to WP Block API v2
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 12.0.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Core | Keywords: | has-patch |
| Cc: |
Description
Since WP 5.8 will be required for BuddyPress 12.0.0, let's move to BP Block API v2 using block.json files and reorganizing block directories to benefit from @wordpress/script "automated" tasks.
Related tickets:
Change History (2)
Note: See
TracTickets for help on using
tickets.
This
$metadataargument will be used to determine whether or not to use the v2 of the WP Block API.Trac ticket: https://buddypress.trac.wordpress.org/ticket/8855