Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/09/2014 06:50:45 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Pass 'string' rather than 'simple' as default parameters in bp_core_get_notifications_for_user() and bp_notifications_get_notifications_for_user(). Fixes #BB2508. (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-notifications.php

    r7627 r7732  
    115115 * @return boolean Object or array on success, false on fail
    116116 */
    117 function bp_core_get_notifications_for_user( $user_id, $format = 'simple' ) {
     117function bp_core_get_notifications_for_user( $user_id, $format = 'string' ) {
    118118
    119119    // Bail if notifications is not active
Note: See TracChangeset for help on using the changeset viewer.