Skip to:
Content
Pages
Categories
Search
Top
Bottom
Codex HomeReleases → Version 1.5

Version 1.5

Version 1.5 is a major BuddyPress feature release. Code-named “Lombardi” after the first pizzeria in the United States (with a wink and a nod toward the Wisconsin roots of several members of the BP dev team), BuddyPress 1.5 introduces many dozens of new features and enhancements, on top of hundreds of bugfixes.

For Version 1.5, the database version (bp-db-version in wp_options) changed to 3817, and the Trac revision was 5172. Read the full ticket log here.

Highlights

User Features

Activity Stream

Administration

BuddyBar/Admin Bar

  • Add support for WordPress’ Admin Bar; set BP_USE_WP_ADMIN_BAR in wp-config.php. The BuddyBar will be removed in a future release of BuddyPress (#2706#3294).
  • Fix enqueue BuddyBar’s CSS in core rather than in the Default Theme to prevent unstyled messes when using third-party themes.
  • Fix BuddyBar overlapping the header image.
  • Fix admin bar load order so that it respects WordPress’ individual user’s “show admin bar” preference (#3560).
  • Remove BuddyBar’s CSS out of the Default Theme, and into its own file.

Default Theme

  • Add responsiveness to the Default Theme; it looks great on mobile browsers (#3494).
  • Add support for custom menuscustom header images, and custom backgrounds to BP-Default (#2691).
  • Add support for WAI-ARIA landmark roles (#748).
  • Add styling for nested comments.
  • Add admin Visual Editor stylesheet (#3142).
  • Add new widget areas; there are now five (one in the sidebar, four in the footer).
  • Add a new one-column page template.
  • Add comments and trackbacks to pages.
  • Add ‘order by’ sub-navigation to group forums.
  • Add rel=”author” to blog posts.
  • Add “cancel friendship” buttons on your member profile’s Friends page (#2780).
  • Add a new forums tab on the member profile page nav; gives you quick access to the topics you’ve started and replied to (#3177, #3431).
  • Add search box to 404 template (#3236).
  • Add new template files for “settings” component.
  • Add ID to sidebar widget block (#2752, #3216).
  • Add ability to set any component page as the site’s home page (#2743).
  • Add word-wrapping to long activity item contents to work better with extremely long words (#3410).
  • Add sorting of messages to the private message inbox (#2724).
  • Add more CSS classes to the group admin member screen (#2953).
  • Add delete button to the view private message screen (#2760).
  • Fix many RTL issues (#3242, #3479).
  • Fix next/previous post/page links when reading a blog post (#2982).
  • Fix textarea resizing, limit to vertical (#3316).
  • Fix display of UL/OL elements in comments.
  • Fix forced display of scrollbars for pre elements.
  • Fix wrapping of long user names in blog post author box (#3402).
  • Fix gravatar size inconsistencies throughout.
  • Remove the hardcoded text about “connecting” from the log in sidebar.
  • Remove the “edit this post” link from pages.
  • Remove all of the middle-dots on links, page titles, and sub-navigation (#3249).
  • Update text, table, image, and widget styles for much better consistency throughout the theme (#3235, #3241).
  • Update page header, comment, forum, and activity stream styles; these have a great new appearance, and content is easier to read (#2753, #3242).
  • Update page title generation (#2555, #2595, #3512, #3561).
  • Update Forum Directory template to better match bbPress 2.0’s template design.
  • Update the drop-down in New Forum Topic creation to include hidden/private groups if the user is a super admin, or a member of that group.
  • Update the main header ‘s background to use a CSS3 gradient instead of an image.
  • Update how we zebra-stripe various “tables” in our template for better cross-browser support (#3074, #3294, #3376).
  • Update styles for the sub-navigation bar tabs to ensure consistent height and positioning in some situations (#3370).
  • Update the page header to accommodate a longer site name (#3234).

Forums

  • Add oEmbed support (#2707).
  • Add the topic’s tags to the edit topic screen (#2281).
  • Add better error messages when something goes wrong posting a forum topic (#947).
  • Fix display of topics when the last poster on a topic has since been deleted (#3541).
  • Fix forum directory appearing in the main nav when the forum directory option has been disabled (#2541).
  • Fix the total forum count returned when a search is made.

Friends

  • Update single friendship notification URL to clear the notification (#3290).
  • Update friend request page to clear pending notifications (#3294).

General

  • All javascript and CSS files, excepting those in BP-Default, have been made smaller and are only loaded when necessary. This will help improve page load times (#969, #1891).
  • Add support for multi-network use of BuddyPress; details here and on the BP Development site.
  • Add proper 404 redirect handling throughout for invalid URLs (#2969, #3176, #3311, #3280).
  • Add editable title to widgets (#1928).
  • Add more BuddyPress-specific classes to the body element for greater customization (#2468).
  • Add “search posts” option into the page header search box (#2255).
  • Add filter to allow gravatar lookups to be disabled site-wide (#2697).
  • Fix situations where inconsistencies could occur in various places after a user is marked as a spammer (non-multisite). (#1975)
  • Fix users marked as spammers, or those with deleted accounts, being able to update their old profile’s status update.
  • Fix BuddyPress updating users’ user_url property unnecessarily (#3030).
  • Fix broken links in some situations when using BP_ENABLE_MULTIBLOG, and multisite (#1972, #2061, #2653, #2954).
  • Fix errors in RSS feeds when used in languages other than English (#2194, #3040).
  • Fix errors found by the WAVE accessibility tool (#3264).
  • Fix installer to use BP_ROOT_BLOG if it is set prior to installation.
  • Fix marking a user as a spammer by using WordPress core functions (multisite).
  • Fix a problem with bp_core_redirect()’s  handling of URL-encode member names when BP_ENABLE_USERNAME_COMPATIBILITY_MODE is set (#2670).
  • Fix optimisation of “for” loops (#2985).
  • Fix behaviour when a user logs in, if they’ve been marked as a spammer, or are yet to activate their account; a message is now displayed (#2575).
  • Fix the URL generated when a new site is registered when using multisite with sub-domains (#1796, #3227).
  • Fix creating user accounts with a log in name that contains spaces (#2642).
  • Fix edge case when retrieving a user’s display name if their user_nicename is empty.
  • Fix unset coordinate errors when using the image cropper (#2522).
  • Fix removal of site options when BuddyPress is deactivated (#2755).
  • Fix WordPress’  classes being removed from the body element when viewing the home page.
  • Fix putting reserved names into the illegal_names update function (#3106).
  • Fix double-escaping of search strings when using the site-wide search box (#2776).
  • Fix at-mentions so that they are turned into links in contexts other than activity updates (#3363).
  • Remove item count span element from the page’s title tag (#3343, #3361).
  • Security audit. Everything reviewed and enhanced as necessary.
  • Update how user account “active” status is initially set; a user has to log in before they are shown as “active” and in the member directory (#3003).
  • Update and improve alt and title tags on all avatars (#2027, #2606).
  • Update text of navigation elements and remove references to “My” or “Your” as needed.
Groups
  • Add a group setting to control who can send invitations to the group (#2005).
  • Fix accidental sanitization of images with upper-case file extensions when uploading new avatars (#3087).
  • Fix the group activity permalink handler being greedy when the Activity Stream has been disabled (#3186).
  • Fix group widget when viewing member profile pages (#2368).
  • Fix banned group users being able to post new forum topics, and re-joining the group (#2661, #2957).
  • Fix group admin member list’s markup being wrapped inside a template tag; move it into the theme template (#3271).
  • Fix super admins being allowed to leave groups that they’ve joined, as long as they are not the group’s last admin (#2961).
  • Fix sticky logic in group forum directory so stickies always appear at the top of the order, without breaking pagination (#3059).
  • Fix error and success messages from group extensions not always appearing (#3427).
  • Fix group auto-join when posting in public groups’ forums (#3442).
  • Fix group invitations when javascript is disabled (#2245).
  • Update groups’ directory total count and “last active” to make these database queries much faster (#2421).
  • Update length of group names/slugs to a maximum of 200 characters to accommodate for URL encoding of non-Latin alphabets (#880).

Members

  • Add Forums tab to user account area to show topics the user has started, and topics that the user has replied to. This includes additional template files to support this new functionality.
  • Add a requirement that users must input their existing password to be able to change their email address or enter a new password (#2517).
  • Add automatic updating of your status in your profile’s header when you post an activity update (#2065).
  • Add new activity stream entry for when profile pictures are updated; “[a person] changed their profile picture” (#3022).
  • Fix accidental sanitization of images with upper-case file extensions when uploading new avatars, and handle more edge cases (#1184, #3087).
  • Fix issues where invalid HTML would be generated when viewing a member’s profile status (#2443).
  • Fix restoring of submitted profile field values during user registration, if another field is required and is left empty or otherwise fails validation (#3378).
  • Update error messages when user account registration fails because of the user name (#2226).
  • Update the members’ directory “sort by newest” to make the database query faster.
  • Update user registration to check signup email against banned email domains list when available (#2630).

Private Messages

  • Add oEmbed support (#2707).
  • Add support for queuing and displaying multiple admin notices at the same time (#3137).
  • Fix message not being set to recipients when BP_ENABLE_USERNAME_COMPATIBILITY_MODE is not set and user_nicename is different from user_login (#3104).
  • Fix duplication of recipients on the compose screen (#3352).
  • Fix where inbox count would return incorrect results (#3367).
  • Fix subnav link highlighting when reading a private message (#3169).
  • Fix recipient autocomplete when WordPress is installed in a subdirectory (#2556).
  • Fix situations where messages could not be marked as read, unread, or deleted (#3367).
  • Update the message’s tab unread count’s javascript logic (#3368).
  • Update sorting of messages in inbox to “most recent activity”; pushes active messages to the top (#3214).
  • Update private messaging to allow admins to send messages to any user, regardless of friendship status (#2419).
  • Update the unread message count in the sub-nav when reading a private message (#574).

Profile Fields

  • Add new Profile Fields UI; reorder field groups and move fields between groups. Core field group and name fields are now editable.
  • Add ability for site admins to edit another user’s profile (#965).
  • Add rel=nofollow to profile data links (#2696).
  • Fix handling of timestamps when saving date selector fields relating to the UNIX epoch (#2240). Also allow for a much larger range of available dates when a user is updating their profile.
  • Fix profile field auto-linking generating invalid HTML (#3200).
  • Fix multiple checkboxes in profile fields (#3478).
  • Fix handling of apostrophes and other special characters in profile field names and profile data (#2283, #3213).
  • Fix display of datebox, multiselect, and checkbox profile fields in certain situations (#2947).
  • Fix searching profile fields with alphabetical sort (#3404).
  • Update handling of white space characters when updating profile data (#3162).
  • Update database queries when editing select, radio, and checkbox profile fields to make them more efficient (#3233).

Settings

  • The Settings component is new to 1.5.
  • It consists of display logic and user settings management which have been moved out of the Core and Members components.

Site Tracking

  • The Blogs component has been renamed to Site Tracking.
  • Fix adding sites to a user’s sites list when the user is added through the dashbtoard (#2137).

Development, Themes, Plugins

Activity Stream

Administration

Default Theme

Forums

  • Update the BPDB class and make it pluggable, to better support db.php drop-ins like SharDB (#3549).

General

  • Add a BP_Component class for easier plugin development.
  • New functions added to get/set options and user meta (see the BP Development site, #2952, #3261).
  • Remove root components and replace them with actual WordPress Pages. See the BP Development site.
  • Add accessor functions to all of BuddyPress’ global variables for future compatibility (#3314).
  • Add filters and actions to many more places to make it easier for third-party developers to change behaviour (#1536, #2168, #2280, #2286, #2397, #2454, #2503, #2530, #2617, #2669, #2773, #2777, #2980, #2996, #3024, #3071, #3160, #3296, #3324, #3379, #3418, #3434, #3489, #3513, #3515, #3523, #3534).
  • Add humans.txt, because we’re not robots.
  • Add ABSPATH checks to all files to prevent direct file access (#3367).
  • Add and update alot of PHPDOC.
  • Add ‘bp_actions’ and ‘bp_screens’ hooks to replace the usage of ‘wp’ throughout project (#3476).
  • Add bp_do_404() for easy 404ing in your custom components.
  • Add the UNIX date as the version identifier to all script and style enqueues to help flush caches for future releases (#3367).
  • Add bp_users_get_nicename() to fix long-standing issue with user names containing spaces or other non-standard characters.
  • Add _has_directory() template tags throughout.
  • Add bp_is_multiblog_mode to reduce BP_ENABLE_MULTIBLOG checks throughout (#3314).
  • Add bp_nav_item_has_subnav() to make it easier to find out if a nav item’s sub-nav is populated (#3381).
  • Add bp_use_wp_admin_bar() to reduce BP_USE_WP_ADMIN_BAR checks throughout (#3314).
  • Add bp_is_username_compatibility_mode() to avoid direct constant checks throughout (#3314).
  • Add wrapper functions for avatar-related constants. Also move avatar settings into $bp global (#3314).
  • Add a new “settings” from parts of core for future extension. Includes new template files in BP-Default.
  • Add classes to the notification settings tables for easier styling (#2534).
  • Add additional arguments to the BP_Button class for greater customization in themes (#2711).
  • Deprecate obsolete code, and move it into its own file (#2600).
  • Fix the generation of timestamps for better consistency (#2750).
  • Fix all WP_DEBUG notices/errors. Swap out all deprecated WordPress functions with their appropriate replacements.
  • Fix some core functions returning invalid links when used over HTTPS (#1948, #2634).
  • Fix all pass-by-reference PHP5 warnings.
  • Fix search parameters throughout all components being overridden by the URL when the search parameter has been hardcoded in the template (#2747).
  • Remove all function_exists() calls which were used to check if a particular component was active, and replace with bp_is_active() (#2718).
  • Update BuddyPress to use the new BP_Component class internally.
  • Update jquery.bgiframe.js to 2.1.2 and add minified version (#3204).
  • Update jQuery Easing plugin (#1940, #2648).
  • Update all template files for consistency of names and positions of do_action hooks.
  • Update and improve i18n throughout; add descriptions, contexts and support argument swapping (#2028, #2291, #3120, #3514).
  • Update the bp_loaded action to use init instead of plugins_loaded. Stops BuddyPress _doing_it_wrong() (#2609, WP #14729, and the BP Development site).
  • Update all permalink functions to use trailingslashit().
  • Update all our SQL queries to use bp_core_get_table_prefix() (#3228).
  • Update for PHP5 throughout (#3148).
  • Update all  loop_start/loop_end actions throughout to be component-specific (#2981).
  • Update all javascript for jQuery 1.5.2+ compatibility (#3207).
  • We recommend a new way to enqueue stylesheets in your child themes (#3389 and the BP Development site).

Groups

  • Add include and exclude parameters for bp_groups_has_members loop (#2641).
  • Add show_hidden parameter for bp_has_groups (#2377).
  • Add ability to replace the groups object, or class used, in the loop (#3312).
  • Add filters on groups database queries (#2774).
  • Fix groups_join_group() to use the correct group ID and user ID in some situations (#2733).
  • Fix bp_group_is_user_banned() being used outside of the group template loop (#3488).

Members

  • Add include and exclude parameters for bp_has_members loop (#2620).
  • Update members loop to allow an unlimited per_page setting (#1991).

Private Messages

  • Add ID and class to notices screen (#2533).
  • Fix timestamp i18n in the message inbox (#1086).
  • Fix loop to respect the user_id parameter (#2340).

Profile Fields

  • Add wrapper functions for retrieving and checking items in $bp->action_variables (#3325).
  • Add several exclude parameters for bp_has_profile loop (#2655).
  • Add meta functions for field groups, fields, and individual data items (#671).
  • Add hide_empty_fields parameter to bp_has_profile() and the rest of the template chain to make database queries more efficient and to fix front-end zebra striping issues in BP-Default (#3074).
  • Fix BP_XProfile_ProfileData::populate() breaking saves when the object is instantiated when no row is found in the database (#2586).
  • Fix xprofile_get_field_data() to be more considerate of the type of data it is returning (#2172).
  • Update xprofile_insert_field() to return the field_id (#1024).
  • Update references to ‘profile’ to ‘xprofile’ throughout project for consistency.
Skip to toolbar