Time to test BuddyPress 11.0.0-beta2!

Hi!

11.0.0-beta2 is now available, please test it 🙏

BuddyPress 11.0.0-beta2

#11-0-0, #beta, #release

.webp support is arriving in BuddyPress 11.0.0

If your site is using a WordPress version that is upper than 5.8, you’ll see BuddyPress 11.0.0 is bringing support for .webp image files when you need to upload a profile image or a cover image.

You can read the full story of this change from this ticket #8643. You’ll discover we do read reviews of the plugin and we do listen to users suggestions and needs 🤗

#11-0-0, #cover-image, #profile-image

BP Dev-Chat Agenda November 23, 2022

Hi!

Our next development meeting will happen on November 23 at 19:30 UTC (today) and of course in #BuddyPress. Here’s our agenda:

  • News about latest commits to trunk
  • 11.0.0-beta2 and RC schedule

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

👋

#11-0-0, #agenda, #dev-chat

BuddyPress will soon only load its JavaScript and Style assets into the community area of your site

For quite a long time, BuddyPress users has regularly requested us to improve how the plugin’s JavaScript and Style assets are loaded into the front-end of their WordPress site.

How come BP JavaScript and CSS files are loaded everywhere on my site?

A BuddyPress user probably wishing it wasn’t the case!

That’s the question I’m often asked about BuddyPress, maybe you wondered about it too 😁. We’re not sure there’s a specific reason explaining this fact. As it was necessary before we introduced the BP Theme Compat API (see the 1.7 version announcement post) to use a BuddyPress compatible theme like the one we bundle by default (BP Default), I think we kept the way this theme was loading these assets into the first Template Pack (BP Legacy) we added to BuddyPress.

Let’s only load what we need when we need it… progressively!

In version 11.0.0 we are taking a first step towards restricting JavaScript and Style assets loading to BuddyPress pages only (or what I also call the community area of your WordPress site). To take no risks with potential BP plugins or themes needing these assets, we will carry on loading these everywhere on your site in 11.0.0. BUT if you want to avoid this, you now have an easy way to only have these loaded into the community area of your site. Simply put a bp-custom.php file in place (or use the one you already put in place) and add the following code into it:

add_filter( 'bp_enqueue_assets_in_bp_pages_only', '__return_true' );

If using the above filter, you notice something is going wrong with your website due to the use of a specific BP plugin or theme, report it here and we’ll then have another development cycle to fix things before we completely restrict these assets to BuddyPress generated pages in a second step & in version 12.0.0.

To read more about the story of this change, you can have a look at this ticket #8679.

#11-0-0, #developer-documentation

The way BuddyPress loads deprecated code will change in version 11.0.0

During a development cycle, we can deprecate functions the plugin is not using anymore. In this case we are moving this deprecated code into a specific file named according to the BuddyPress version when it was deprecated. For example, the bp_insert_site_hook() function was deprecated during the 10.0.0 development cycle and was moved into the /bp-core/deprecated/10.0.php file.

Before 11.0.0, deprecated code was never loaded when BuddyPress was first installed or if the BP_IGNORE_DEPRECATED constant was set to true. Deprecated code was only loaded if this constant wasn’t set to true and if BuddyPress has been regularly upgraded since version 2.7. This means if you first installed version 8.0.0 of BuddyPress, deprecated code was never loaded. This was wrong considering BuddyPress Plugin and Theme authors who were not able to be informed by setting their WP_DEBUG constant to true that a function was deprecated (and eventually replaced by another one) and no more available.

Starting in 11.0.0, we’re improving our deprecated code loading strategy

First we are keeping these 2 behaviors from previous versions:

  • Deprecated code is never loaded when you first install BuddyPress.
  • Deprecated code is not loaded when you define the BP_IGNORE_DEPRECATED constant to true.

Second we’re introducing a new constant to force all deprecated code to be loaded: BP_LOAD_DEPRECATED. Defining this constant to true can help you to identify deprecated functions one of your plugins or you active theme is still using although it shouldn’t.

Third, when BuddyPress has been upgraded, we are loading the code that was deprecated during the 2 previous versions.

To read more about the story of this change, you can have a look at this ticket #8687.

At the time I’m writing these lines, we’ve started the 11.0.0 beta testing period. As this change is pretty important, we strongly advise BuddyPress Plugin and Theme authors to test BuddyPress 11.0.0 pre-versions.

#11-0-0, #developer-documentation

BP Dev-Chat summary : November 9, 2022

Unfortunately @vibethemes wasn’t able to join the meeting to share with us his progress about the BP Standalone Theme he’s been working on. We adapted our agenda to talk about 11.0.0-beta1 and 11.0.0 changes needing docs.

11.0.0-beta1 first feedbacks

  • An issue was raised into our Support forum topic. We believe this issue is specific to the active WordPress theme as we’re not able to reproduce with one of the WordPress default bundled themes.
  • Within the same forum topic, another minor layout improvement was discussed and later fixed in #8761.

11.0.0 changes needing docs

@dcavins & @im4th selected the tickets they will post documentation about in this site.

  • @dcavins will deal with #4184 (Activity loop arguments change) & #4075 (xProfile groups loop arguments change)
  • @im4th will work on #8679 (restrict BP Assets loading to community areas) & #8687 (Deprecated code loading).
  • About this last ticket @johnjamesjacoby suggested to rename the constant to load all deprecated code to BP_LOAD_DEPRECATED. We all agreed it was the right way of naming it. The change has been committed to Trunk version.
  • Finally the change about the .webp image format support will be documented by the first of us to have finished documented their tickets.

11.0.0 schedule reminder

  • RC: December 1st, 2022.
  • Release: December 14, 2022.

Open floor

During this part of the chat, we took the time to help @dcavins to fix PHPUnit testing suite, if like him you had the right idea to use the one we include into the development version of the plugin based on Docker, you can read this discussion to help you restart from scratch!

@johnjamesjacoby shared his intent to improve BuddyPress.org typography especially into the site’s Forum.

Next Dev-Chat

It will happen this week on November 23 at 19:30 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#11-0-0, #dev-chat, #summary

BP Dev-Chat Agenda November 09, 2022

Hi!

Our next development meeting will happen on November 09 at 19:30 UTC (today) and of course in #BuddyPress. Here’s our agenda:

  • First design progress about the next Standalone BuddyPress Theme with @vibethemes.
  • 11.0.0-beta1: beta testing has begun, let’s document some important changes.

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

👋

#11-0-0, #agenda, #dev-chat

Here’s 11.0.0 first beta!

Hi!

We need your help, please contribute to BuddyPress 11.0.0 beta testing starting with this first beta release. Thanks in advance 😍

#11-0-0, #beta, #release

BP Dev-Chat summary : November 2, 2022

11.0.0 last tickets to fix

  • #8590: Cache improvements. @dcavins have checked the rest of the buddyboss PR for potential complementary improvements and found out we had previously covered these on our own.
  • #8693: Site Members Invitations & configs using signups only. @dcavins has fixed the issue 💪👏.
  • #7614: Make sure the group members count routine is more accurate. We’ve talked about the edge case when an administrator adds a not yet active user to a group. We came to the conclusion we should sync counts when not active users finally log in for the first time. @dcavins has shared an interesting patch about it on the ticket. @im4th also shared a PR exploring a different strategy: taking in account not yet active users when the current user is the administrator. Please share your opinion about what you think is best on the ticket 🙏.
  • #8746: companion stylesheet for Twenty Twenty-Three. @im4th & @dcavins shared between themselves the work to achieve. During the week-end @im4th updated the PR and committed it to SVN trunk so that this can be done easily. He figured out most of issues were related to CSS color variables that were not used in TT3 compared to TT2. Doing a replacement of these seems to address most issues. Another look to it would be greatly appreciated 😍.
  • @espellcaste should commit the two tickets about the xProfile loop & the Messages BP REST API endpoint soon.
  • @im4th thinks the ticket about stopping using `$this` into `@param` docblocks can wait after the 11.0.0-beta1 version is released.

11.0.0 schedule reminder

  • First beta: November 8, 2022.
  • RC: December 1st, 2022.
  • Release: December 14, 2022.

10.5.0 & 10.6.0 Maintenance releases

Both versions have been released before WordPress 6.1. @im4th explained why he urgently took the decision to package 10.6.0 shortly after 10.5.0: replies into our support forums showed we needed to improve how we deal with Block only based Themes as the strategy used in 10.5.0 introduced a regression with Themes using block templates, although they are regular themes.

BP Attachments 1.0.0?

There’s still some work to achieve to be ready to package a very first version of this new BuddyPress Add-on:

  • Public Media directory,
  • Attaching media to Activity (when not using the BP Activity Block editor, as this part is already handled thanks to BP Attachments blocks).
  • Attaching media to Private Messages.
  • Including first private sharing options (with friends or group members).

@im4th hopes he’ll be able to publish a first version to the WP.org repository in early December so that it happens slightly before the 11.0.0 BuddyPress release.

Next Dev-Chat

It will happen this week on November 9 at 19:30 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#10-0-0, #11-0-0, #dev-chat, #summary

BP Dev-Chat Agenda November 02, 2022

Hi!

Our next development meeting will happen November 02 at 19:30 UTC (today) and of course in #BuddyPress. Here’s our agenda:

  • 10.5.0 & 10.6.0 minor releases feedbacks.
  • 11.0.0-beta1 is slated to November 8, we still have 6 tickets to deal with:
    • 2 have patches/PR to be committed:
      • #4075 request multiple fields groups IDs into xProfile loops.
      • #8698 Add additional data to private message recipients fetched using the REST API
    • Here are the ones, I think, we should prioritize:
      • #7614 Group members count issues.
      • #8746 A companion stylesheet for Twenty Twenty-Three

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

👋

#10-0-0, #11-0-0, #agenda, #dev-chat