bbPress 2.5.11 Adds WordPress 4.7 Compatibility

The bbPress development team has released 2.5.11 to add support for a technical change in WordPress 4.7. Users are highly encouraged to update to bbPress 2.5.11 before updating to WordPress 4.7. In 4.7, the loading order for the current user in the function stack was changed to accommodate user locale switching.

Previously, BuddyPress and bbPress displayed a custom notice when a user was initialized without using WP->init(). In addition to patching the issue in BuddyPress and bbPress, a new wp_roles_init filter was added to WordPress that allows plugins to add custom roles when they’re initialized.

The changes mentioned above are technical in nature so I asked John James Jacoby, lead developer of bbPress, what the update really means. “bbPress loads its roles on-the-fly, in a similar way to how post-types and taxonomies are registered,” Jacoby told the Tavern.

“With locales and roles now having a reversed load order, bbPress needed some code changes to work for both WordPress 4.6 and 4.7 without causing any problems for third-party bbPress plugins and non-English installations.”

This particular improvement has personal historical meaning to Jacoby, “This change to WordPress core in 4.7 is a long time coming,” he said.

“It was the very first bug I ever reported in WordPress’ IRC channel back in 2008, when I was working on a large multi-lingual multisite installation. It’s how I met Peter Westwood and Jen Mylo, and it was their kindness that made it clear that WordPress was the platform for me.”

Jacoby also notes that per-forum moderators, favorites, and subscriptions have been rewritten in bbPress 2.6. During testing, performance enhancements were discovered and submitted to WordPress core and have been implemented across the forums on WordPress.org. Work continues on bbPress 2.6 which is expected to ship in 2017.

6

6 responses to “bbPress 2.5.11 Adds WordPress 4.7 Compatibility”

  1. Hi, thanks for this article!
    However, just noticed this in my local install:

    1.Fresh WP 4.6.1 – my structure http://localhost/<subfolder/
    2.Install and activate bbPress 2.5.11
    3.Everything good
    4.Update WP 4.6.1 to 4.7-RC1-39355 (via beta-tester plugin)
    5.Menu items: "Forums", "Topics" and "Replies" are gone

    I know, a case for official WP Alpha/Beta support forum :-)
    But before posting anything there, perhaps somebody could confirm that same thing happens with same steps?

  2. Unfortunately, it looks like they missed some stuff. None of the bbPress menus display when you upgrade to WP 4.7. Troubleshooting that problem right now. ;)

    It is a “capabilities” problem. That I know for sure. I do not have sufficient Admin capabilities to view the bbPress menus. So they are not being displayed to me even as an Administrator.

    • Hey Ed! Jeff brought this comment to my attention.

      You’ll need to give yourself the Keymaster role to see them, or the Moderator role to see them at a limited capacity. (Most installations should have the main administrator account have the keymaster role already.)

      If for some reason you do have the Keymaster role but you still can’t see the menus, let me know here and I’ll try to help you privately.

      Sorry for the scare, and hopefully it’s an easy fix.

  3. Hello, I’m in the same situation as @Ed and @Kris; I have the Administrator WP role and the Keymaster Forum role, yet am unable to see the Forums in the Dashboard after upgrading to WP 4.7 and bbPress 2.5.11 on our staging server.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.