#6276 closed enhancement (no action required)
Give the users a message if no activity, rather than blank screen
Reported by: | gregrickaby | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Templates | Keywords: | has-patch reporter-feedback |
Cc: |
Attachments (1)
Change History (4)
#1
@
10 years ago
- Component changed from API to Appearance - Template Parts
- Keywords has-patch reporter-feedback added
- Milestone changed from Awaiting Review to Under Consideration
Note: See
TracTickets for help on using
tickets.
Hi Greg
Thanks for starting a discussion, the patch, and (I think) your first trac ticket!
As you probably know, activity-loop.php already has a "no activity found" block, after this clause:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
I am interested to discover how you can get that first
if
to pass, yet no results be returned later within thewhile
loop. I'm going to guess there might be custom code causing this, but we should figure out if that's a consequence of a bug or oversight in BuddyPress somewhere.