[buddypress-trac] [BuddyPress Trac] #6356: Filtering the group invites list
buddypress-trac
noreply at wordpress.org
Wed Apr 8 12:10:34 UTC 2015
#6356: Filtering the group invites list
--------------------------------+------------------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Groups | Version: 2.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------------+------------------------------
Comment (by hnla):
>Perhaps the plan was to keep templates streamlined, with such logic
happening somewhere upstream?
But yes that's the point, it's what I'm referring to in above comments re
the send-invites.php template, if you check that template you'll see it's
in effect the master template calling the invite loop, as I had things in
my second pass I ran all the checks there so never called the loop unless
there was a reason to i.e it returned true - in a subsequent pass things
were changed slightly and think the conditional checks aren't robust
enough, so probably need to re-visit and re-implement my original
conditionals.
I'll take a look and think how best to handle, perhaps simply adding in a
further check in invites loop but don't really like duplicating stuff -
good spot though, it passed me by :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6356#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list