Immediately available is BP Attachments 1.1.0. This BuddyPress Add-on maintenance release main goal is to make it ready for the next BuddyPress major release (12.0). If you haven’t read about the important change BuddyPress 12.0.0 will introduce, please read this post about its first beta version.
Showing the way to BuddyPress third party Plugins/Add-ons
The BP Attachments 1.1.0 maintenance release is the opportunity the BuddyPress development team chose to demonstrate how third party BuddyPress Plugins/Add-ons can adapt their code to be compatible with BuddyPress 12.0.0 as well as with previous versions of BuddyPress. It’s very important to us, as a community, we all take a few actions – during the next 2 months – to prepare the BuddyPress next major version release (slated to October 30).
In addition to documentation resources Third party BuddyPress Plugin/Add-on authors can read, they can now learn from a real use case thanks to this BP Attachments new maintenance release.
The other changes
- The experimental avatar UI is now disabled by default. If you want to experiment it, you’ll need to use this piece of code:
add_filter( 'bp_attachments_use_experimental_features', '__return_true' );
- When enabled this experimental UI now includes a link to delete the existing avatar.
- If you’re not happy with how Media Attachments are rendered inside the Activity updates, you can use a filter to reorganize Activity blocks*. There’s an exemple of use here.
*
ICYMI: since BuddyPress 11.0.0, as you can opt-in to use Blocks inside BP Activity content using the filter below, BP Attachments is enjoying this feature and use it to attach Media to Activity updates.
add_filter( 'bp_is_activity_blocks_active', '__return_true' );
Please upgrade to 1.1.0 !
Discover more from TechPros: Innovate, Learn & Connect
Subscribe to get the latest posts sent to your email.