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-notifications/bp-notifications-functions.php

    r7715 r7732  
    115115 *
    116116 * @param int $user_id ID of the user whose notification are being fetched.
    117  * @param string $format Format of the returned values. 'simple' returns HTML,
     117 * @param string $format Format of the returned values. 'string' returns HTML,
    118118 *        while 'object' returns a structured object for parsing.
    119119 * @return mixed Object or array on success, false on failure.
    120120 */
    121 function bp_notifications_get_notifications_for_user( $user_id, $format = 'simple' ) {
     121function bp_notifications_get_notifications_for_user( $user_id, $format = 'string' ) {
    122122
    123123    // Setup local variables
Note: See TracChangeset for help on using the changeset viewer.