Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/05/2014 10:40:49 PM (10 years ago)
Author:
r-a-y
Message:

Allow notifications loop to accept all available parameters.

Previously, the notifications loop accepted only a subset of parameters
from the BP_Notification_Notification::get() method. This made
notification loop filtering very restrictive.

This commit opens up the notifications loop so all parameters are available
as per the BP_Notifications_Notification::get() fetch method.

Fixes #5558.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-classes.php

    r8541 r8761  
    543543     *     @type string $search_terms Term to match against component_name
    544544     *           or component_action fields.
     545     *     @type string $order_by Database column to order notifications by.
     546     *     @type string $sort_order Either 'ASC' or 'DESC'.
    545547     *     @type string $order_by Field to order results by.
    546548     *     @type string $sort_order ASC or DESC.
Note: See TracChangeset for help on using the changeset viewer.