[buddypress-trac] [BuddyPress Trac] #5505: New activity check
buddypress-trac
noreply at wordpress.org
Tue Apr 1 14:40:50 UTC 2014
#5505: New activity check
--------------------------+-----------------------------
Reporter: SGr33n | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Hi,
I don't know if you wanna fix this, but there is a difference between the
check for activity by PHP and the one by ajax (
bp_activity_newest_activities ).
Infact the first one maybe orders via date_recorded DESC, the second one
by id.
In the most of cases it's ok, but if we mention somebody on bbPress and
then we don't pass by the page displaying it can create a bug.
In this case the activity will have a date lower than the id, and then, if
we are on an activity page, php will show as last new item the mention,
because it has a lower date than last item, and will force it, everytime,
as new item because it has an higher id.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5505>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list