Version 2.5.0
Version 2.5.0 is a major BuddyPress feature release.
For Version 2.5.0, the database version (_bp_db_version in wp_options) was 10469, and the Trac revision was 10625. Read the full ticket log here.
Highlights
- Customizable BuddyPress Emails
Keep your users coming back with beautiful and flexible email notifications. Edit the content of your emails, create new email templates, or change the design of the template in the Customizer. These are just a few of the customizations you can make to engage your users and increase their participation in your community with the new email features. Codex articles include: Emails, Email Tokens, and Custom Emails. - Post Type Comments Tracking
New Activity functions help you track post type comments in sync with the Blogs component when activated. - Twenty Twelve Companion Stylesheet
BuddyPress components never looked so fine as they do now in the Twenty Twelve theme. - Support for Emojis
Have fun and be merry! You can now use emojis (up to unicode 7) in activity updates, messages, and group descriptions. - Autolink Settings for Profile Fields
Administrators can enable or disable autolink settings for each new profile field type.
User Features
Activity
- Allow oEmbed auto-discovery for those using WordPress 4.4+ (#6778).
- Ensure an activity item is generated when a post is edited for a registered post type with BuddyPress support (#6834).
- Make sure mention notifications are marked as read when clicking on the “Mentions” tab on the Activity Directory page (#6687).
Administration
- Accessibility improvements throughout admin dashboard pages (#6581, #6698, #6701, #6702, #6741, #6742, #6743, #6760, #6804, #6860, r10464)
- Emails: Add
Appearance > Emails
submenu item to the admin dashboard (r10475) - Emails: Add
Emails > Customise
submenu item to the admin dashboard (r10612). - Emails: add tool to reinstall emails (r10476).
- Fix “Manage Signups” URL when BuddyPress is activated in multiblog mode (#6371).
- Show the “Manage Signups” menu at the level where BuddyPress is displayed for multisite installations. (#6360).
- Improve mobile view of the BuddyPress “Settings > Components” panel (#6803).
- Add capability check to the “Tools > BuddyPress” screen action handler (r10439).
- Rename
Settings
tab toOptions
in the newly namedBuddyPress Settings
screen (r10565). - Update descriptions on “Tools > BuddyPress” screen (r10438).
- Add new h1 heading for Settings – BuddyPress (#6759).
Core
- Introduce BuddyPress email functionality. View this codex article for more info. (#6592)
- Support emojis (up to unicode 7) for those using WordPress 4.2+ (#6529).
- Fix profile photo and cover image uploads for those using Microsoft Edge (#6846)
- Fix issue with caching directory pages when using
BP_ENABLE_MULTIBLOG
mode (#6717)
Friends
- Delete
'friendship_created'
activity items when a user is deleted (#6780).
Groups
- Prevent at-mention notifications in a non-public group when the mentioned user is not a member of that group (#6842).
- Allow ‘bp_moderate’ users to receive at-mention notifications from groups where they are not members (r10554).
- Properly escape the group name on the Delete confirmation screen (#6815).
Members
- Alter signups DB table declaration for better compatibility with multi-network configurations (#5762).
Messages
- Fix potential fatal error when plugins try to prevent private messages from saving (r10585).
- Fix issues when using
BP_IGNORE_DEPRECATED
and the messages component (#6740). - Ensure that Messages autocomplete selections result in valid HTML (#6820).
Notifications
- Delete all user notifications when the user is deleted (#6681).
Profiles
- Introduce ‘Autolink’ admin setting for xProfile fields (#787).
- Allow users to select “none” for xProfile checkbox fields (#6751).
- Add
labels
for xProfile datebox fields (#6887).
Theme
- Add companion stylesheet support for WordPress theme, Twenty Twelve (#6766)
- Update color contrasts in buddypress.css to meet WCAG 2.0 AA standards (#6838).
- Update all companion stylesheets for better message autocomplete styling (r10532).
- Uploader UI: make sure the drag and drop box has the same width as sibling elements (#6800).
Development, Themes, Plugins
Activity
- Post Type Activities: Introduce new functions to track post type comments (r10543).
- Post Type Activities: Allow post types to register comment tracking (#6482).
- Post Type Activities: Add unit tests and improve existing ones (#6128).
- Make it easier to disable at-mention notifications for specific users (#6842).
- Fix typo in
bp_activity_set_post_type_tracking_args()
function (#6777). - Pass function args to
bp_activity_get_activity_id
filter (#6794). - Improve sort order for Activity queries by using
id
column (#6720). - Sort activity actions only when necessary (#6865).
- Move bp-activity classes to their own files (r10516).
- Add new hooks inside
bp_activity_catch_transition_post_type_status()
for post statuses BuddyPress is not dealing with (#6795). - Introduce
'bp_activity_get_join_sql'
filter (#6850). - Introduce
'bp_activity_mentioned_users'
filter (#6682). - Make sure an activity search can be performed on the “mentions” scope (#6713).
- PHPDoc improvements and fixes (r10375, r10427, r10455, r10468, r10588).
Administration
- Register admin scripts/styles before enqueuing (r10416).
- Activity admin: Make sure it is possible to filter by post type activity comment action (r10546).
- Users: Make sure Users List Table views can still be filtered after “Pending” link is added. (#6872).
- Credits screen: Change “External libraries” section to a more, general “Credits” section (r10414).
- Avoid using HTML tags in translation strings (#6910, #6905).
- Welcome Screen updates for 2.5 (#6886).
- Update stylesheets for the Welcome Screen (#6826).
Blogs
- Move bp-blogs classes to their own files (r10517).
- Post Type Activities: Generalize Blogs component “post” comment synchronization feature to any post type (#6793).
- PHPDoc improvements and fixes (r10426).
Core
- BuddyPress 2.5.0 requires at least WordPress 3.9.0 (#6805).
- Update inline project descriptions (r10492).
- Move bp-core classes to their own files (r10518, r10530).
- Bump
db_version
to trigger email installation routine (r10480). - Enqueue our admin scripts/styles on the WP Customizer enqueue scripts hook (r10430).
- Introduce hook,
bp_register_post_types
for post type registration (r10413). - Introduce hook,
bp_customize_register
for use with the WP Customizer (r10431). - Introduce function,
bp_core_replace_tokens_in_text()
(r10491). - Improve performance of
bp_sort_by_key()
(#6864). - Restore template globals after widget loops (#5170).
- BP Component: Allow plugins to set a custom position when registering an admin bar subnav menu (#6859).
- Widgets: Do not attempt to inject
'buddypress'
CSS class for closure callbacks (r10567). - In BP taxonomy functions, make sure taxonomies are registered (r10580).
- Fix unit test for
BP_Attachment::get_image_data()
method (#6868). - PHPDoc improvements and fixes (r10354, r10355, r10417, r10425, r10487, r10497).
- Samus Aran vs. BuddyPress documentation inconsistencies r10356
Emails
- Introduce base classes for new Email implementation:
BP_Email
,BP_Email_Recipient
,BP_Email_Delivery
, andBP_PHPMailer
(r10470). - Register email post type and taxonomy and add integration into the WP admin dashboard (r10474, #6892)
- Introduce function,
bp_email_get_appearance_settings
(r10471 - Add default filters for email headers and tokens (r10477).
- Introduce
bp_send_email
, which is our replacement forwp_mail
(r10478). - Refactor notification functions and use
bp_send_email
to send email (r10479). - Use local instance of WordPress’ PHPMailer class (r10490).
- Add actions to email template for plugin authors (r10607).
Friends
General
- Build tools: Add grunt-check-dependencies module (#6756)
- Build tools: Update
grunt-contrib-imagemin
from 0.9.4 to 1.0.0 (#6727) - Build tools: Update scss-lint (#6825).
- Build tools: Update various npm packages to latest versions (r10352)
- Build tools: Run Travis builds against WP 4.4 branch (#6883).
- Unit Tests: Add PHP7 to test suite (#6758)
- Build tools: Whitelist a few selector tokens in scss-lint .yml config (r10405, r10508)
- Fix script/style enqueue path when using BP development repository with release build of WordPress and when
SCRIPT_DEBUG=false
(#6920).
Groups
- Move bp-groups classes to their own files (r10520).
- Use unformatted group count when deciding whether to use the ‘no-count’ in user nav (#6813).
- Bail early from
groups_post_update()
if Activity component is not active (#6823). - Remove PHP4-style constructor from
BP_Groups_Widget
(#6721). - Improve coding standards in
BP_Groups_Widget
(r10441, r10442). - Add
user_id
parameter togroups_send_invites
hook (#6688) - Add
$group
object as an additional parameter in many group template filters (#6752) - Fix notice in group widget caused by the WP Customizer (#6747)
- PHPDoc improvements and fixes (#6785, r10373, r10423, r10444, r10454, r10466, r10488).
Members
- Move bp-members classes to their own files (r10521).
- Introduce template function,
bp_get_member_type_directory_permalink()
(#6840). - Introduce function,
bp_get_members_member_type_base()
(r10458). - PHPDoc improvements and fixes (r10422).
Messages
- Move bp-messages classes to their own files (r10522).
- jshint should ignore Messages autocomplete scripts (r10448).
- PHPDoc improvements and fixes (r10421).
- Add hooks in message loop and message single templates (#6775).
Notifications
Profiles
- Move bp-xprofile classes to their own files (r10525).
- Allow
bp_field_css_class()
to accept multiple CSS classes (#6679). - Improve validation in
is_valid()
class method (#6884). - PHPDoc improvements and fixes (r10418, r10434).
Settings
Theme
- Improve whitespace formatting for all companion SASS stylesheets (#6863).
- Ensure text domain definitions are consistent in template files (#6764).