Skip to:
Content

BuddyPress.org

#7682 closed defect (bug) (fixed)

Fix date querying for notifications loop

Reported by: r-a-y Owned by: r-a-y
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.3.0
Component: Toolbar & Notifications Keywords: has-patch
Cc:

Description

The introduction of the date_query parameter to bp_has_notifications() doesn't work due to the wrong DB column being referenced for the date query.

See #6257 where this was introduced.

Change History (1)

#1 @r-a-y
17 months ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 11840:

Notifications: Fix date querying in bp_has_notifications().

Previously, we introduced the ability to query notifications by date with
the 'date_query' parameter in r9574. However, the DB column used for the
date query is incorrect.

See #6257.

Fixes #7682.

Note: See TracTickets for help on using tickets.