Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/07/2020 09:57:23 AM (4 years ago)
Author:
imath
Message:

BP Blocks: Include private Groups into the BP Group Autocompleter

So far the BP Group block was only listed public group. Thanks to some improvements about the BP Autocompleter React component, we are now also including private groups.

This commit also includes some other improvements:

  • Prepare BP Blocks for the Block Editor's style changes to be introduced into WordPress 5.5.
  • Improve the BP Autocompleter React component so that it's more useful. We can now use it to send specific query arguments to the BP component's endpoint and use callback function to return the Component's item slug.
  • Improve both blocks (Group and member) so that they use this slug callback function to respectively display the Group status and the Member's mention name.

Props iamthewebb

Fixes #8272

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.