Version 12.0.0
Version 12.0.0 is a major BuddyPress feature release.
For Version 12.0.0, the database version (_bp_db_version
in wp_options
) was 13422
, and the Trac revision was 13666
. Read the full ticket log here.
Highlights
🪢 The BP Rewrites API (a massive change!)
- Site Administrators now have a full control over all BuddyPress-generated URLs. They can choose slugs (portions of URLs) that reflect their community, using localized language or special terms that are more meaningful to their members. All also means that URLs generated by third-party BuddyPress Add-ons using the BP Rewrites API will be editable.
- BuddyPress is fully compatible with plain URL permalinks.
- Parsing BuddyPress URLs is faster, more reliable, extensible, testable and fully compliant with WordPress best practices.
- Please note that if some of your BP plugins are not ready yet for this new API we have you covered thanks to this backwards compatibility plugin.
🚪 A new community visibility level: Members only
Thanks to the BP Rewrites API, we were able to give site admins a choice as to whether their community should be fully public or only accessible by logged-in members. In future versions, we hope to add granularity to this choice, so that community administrators can choose to highlight their members but share activities only inside the community “gates” for example.
Changes
Activity
- #8890 – Docs: Improve various globals documentation, as per docblock standards.
- #8954 – Activity Heartbeat feature fails with ‘rewrites’ query parser
- #8957 – Need to remove unused Variable.
- #8958 – Embed Activity Block is not rendering the embed HTML inside the editor
- #8995 – No equivalent hook to rss_tag_pre in buddypress
- #9010 – PHP Fatal error: Uncaught TypeError: Illegal offset type in /buddypress/bp-activity/bp-activity-functions.php:798
- #9017 –
BP_Activity_Query::get_sql_for_clause()
can wrongly use$wpdb->prepare()
- #9021 – Enjoy the WordPress meta API to improve the favorites user meta management
Administration
- #8998 – Fix alignment on some php file
- #8959 – The URLs BP Settings page needs an help page
- #8979 – Register & Activate are not directories v12.0.0-beta1
- #8984 – BP Add-ons Plugin admin tab: stop using buddypress wp.org account favorites to fill this tab
- #9003 – The script assigned the handle of
'bp-rewrites-ui'
fails to enqueue for the WordPress 5.8 branch [BP 12 beta3] - #9016 – The Activity “Post Comment” setting should be disabled if WP Post’s support for BP Activities is not set
- #9027 – Inform Admin/Site owners about the current URL Parser in use
- #9002 – Update the hello BuddyPress screen (changelog) to inform about 12.0.0 changes
Blogs
- #8620 – User profile picture
- #8068 – Site creation confirmation markup should be customizable
- #8925 – Blogs: some rewrites rules are missing & the create action is not implemented
Build/Test tools
- #8457 – Migrate to
@wordpress/scripts
- #8797 – WP 5.7 PHPUnit job is failing
- #8863 – Update GH PHPunit tests action so that WP matrix includes WP 6.2
- #8960 – Edit the readme.txt to inform about the BP Add-ons
- #8968 – Update bundled 12.0 BP Cli
- #8978 – Update node to 16.19.1 and PHPUnit GH action matrix to include WP 6.3
- #9029 – Update GH PHPunit tests action so that WP matrix includes WP 6.4
Core
- #5358 – Add
$add_root
as property of$bp
- #8734 – Introduce simple “Private Site” toggle
- #8786 – Improving the implementation of the
@global
- #8822 – Raise WordPress required version to 5.8
- #8855 – Use block.json metadata file and adapt BP Block API to WP Block API v2
- #8860 – PHP 8.1.17 – PHP Fatal error: Uncaught TypeError: Unsupported operand types: int – string in bp-core/bp-core-functions.php:1349
- #8869 – Move legacy widgets inside the BP Classic plugin
- #8882 – Need to removed unused global variable.
- #8892 – Need to removed unused variable.
- #8895 – Only deprecate some functions if BP Classic is not active
- #8905 – Need for Strings context
- #8909 – Do some
@todo
! - #8910 – Prevent screen and action files to be loaded more than once into Components class
- #8918 – Automate component’s directory
buddypress
post type association - #8923 – BP Rewrites: Optimize code to build URLs
- #8927 – Fully deprecate
bp_nav
&bp_options_nav
BP globals - #8930 – Improve inline documentation for the
BP_Component::setup_globals()
method - #8933 – Including third party components to active components
- #8934 – Improve the tool to reset all BP URL slugs
- #8942 – Completely remove BP bundled moment.js
- #8966 – Improve
bp_core_get_upload_dir()
- #8983 –
bp_clear_object_type_terms_cache
is generating a notice error - #9001 – Members listing page shows wrong active members counter
- #9028 – BP Core generates “Warning: Undefined array key “REMOTE_ADDR”” when run in WP Playground environment
- #8820 – PHP8.2 compatibility
- #8936 – Warning: Attempt to read property in bp-core-buddybar.php
- #8937 – Some BP links set using
home_url()
were missed during the BP Rewrites migration tasks - #8938 – The rewrite rules for directories are not strict enough
- #8939 – Improve BP Rewrites API & components on front page
- #8955 – Only run the 12.0.0 upgrade routine if BP Classic is not active.
- #9015 – 12.0 fresh install & BP Plugin compatibility
- #9018 – BP rewrite rules are not created on 12.0 first install
- #9020 – Permalinks also need to be updated after a components having a directory first activation
Documentation
- #9004 – Update documentation pages linked in WP Admin Screen help tabs
Extended Profile
- #8789 –
bp_get_the_profile_field_ids
should check that groups exist - #8862 – Deprecated notice when creating a new group of profile fields
- #8864 – Deleted field data are not removed from
bp_xprofile_data
Friends
- #8848 – Friends count on is always 0 in WP-Admin extended profile
Groups
- #8866 – Improve unregistered Group Type management
- #8943 – Group Extension using a function to set their tab visibility & the BP Rewrites API
- #8953 – Make sure to display a 404 if a Group’s URL has no match in registered screens
- #8974 – Typo in URL prevents accepting group memberships
- #9000 – Group member object cache not refreshed after removal
- #8940 – Make sure the way the single group canonical stack is set is right
i18n
- #8887 – String Inconsistencyusage between “Visit” and “View” in BP Groups admin page help overview and list table link
- #8990 – i18n warnings on build
Members
- #8884 – The Array Argument of
bp_displayed_user_url()
needs to include specific keys - #8932 – Make sure to display a 404 if a Members (sub)nav misses a valid screen function
- #8956 – BP Nouveau: Activity single view fails to load
- #8971 – Logged in/out Members WP Nav Menu is failing in 12.0.0
- #8996 –
BP_Members_Component::check_parsed_query()
needs an improvement - #9009 – Dynamic BP Member Nav items & the legacy URL parser
- #9013 – Invitations missing from BuddyPress Member logged in menu items [BP 12.0.0.beta3]
- #9026 – Members loop: the link to view a member’s latest activity is always output even if it hasn’t been truncated
Messages
- #8578 – “Send To” field text/recipient of new message thread cleared when user attempts to send message without a “Subject” or “Message” text
- #8975 – Single message thread is not loading message details v12.0.0-beta1
Performance
- #8462 –
bp_core_clear_cache
should be filterable
REST API
- #8696 – BP REST API Messages endpoint does not return latest message in excerpt field
- #8697 – BP REST API Messages endpoint – total messages per thread
- #8849 – Sitewide Notices REST API Endpoint is not initialised
- #8928 – Emoji’s being stripped from message subject in REST API
Route Parser
- #8908 – Do not neutralize
BP_Component::parse_query()
when BP Rewrites are not in use - #4954 – Migrate BP’s custom URI parser to use WP’s Rewrite API
Settings
- #9011 – Option to let users delete their account seems to require the Settings component to be active
Templates
- #8273 – Nouveau avatar rounding incorrectly
- #8865 – Filtering nouveau members buttons causing notice
- #8883 – Inline PHP statement must end with a semicolon.
- #8904 – Move the BP Default theme into the BP Classic plugin
- #9014 – Warning: Undefined property:
stdClass::$type
- #9023 – BP Nouveau: improve cover image header’s action button consistency
- #9024 – BP Nouveau: improve the template tag used to create a group’s description excerpt inside loops
- #9025 – BP Nouveau: improve consistency between members loop entries & groups loop entries
- #9030 – Optimize BP Nouveau for Twenty Twenty-four integration
- #8679 – Only load template pack JS & CSS assets when needed
Toolbar & Notifications
- #8556 –
BP_Notifications_Notification::get
– error formeta_query