[buddypress-trac] [BuddyPress Trac] #8116: BP Blocks category
buddypress-trac
noreply at wordpress.org
Fri Jul 26 09:59:54 UTC 2019
#8116: BP Blocks category
----------------------------+-----------------------
Reporter: imath | Owner: imath
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0.0
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------
With the BP REST API to be included in BuddyPress 5.0.0, this will help
BuddyPress plugin developer to build new BuddyPress blocks. I suggest to
create a new "BuddyPress" category to encourage them to "tidy" their
blocks in this category of the Blocks selector.
If no blocks are added to this category, it doesn't appear into the Blocks
selector, otherwise here's how it would look like:
[[Image(https://cldup.com/3KwRgJUsCf.png)]]
I think it's a good way to avoid duplicate code in multiple plugins if we
share it already in 5.0.0. BuddyPress Block developers will only need to
use this category into the category argument when registering their blocks
(see [https://developer.wordpress.org/block-editor/developers/block-api
/block-registration/#category documentation about it])
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8116>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list