[buddypress-trac] [BuddyPress] #2650: [patch] 'exclude' and 'include' parameters for bp_has_forum_topics()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Sep 23 22:28:16 UTC 2010
#2650: [patch] 'exclude' and 'include' parameters for bp_has_forum_topics()
--------------------------+-------------------------------------------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Forums | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
The trunk has a non-working implementation of 'exclude' in
bp_forums_get_forum_topics(). This patch fixes that implementation and
also allows an exclude parameter in bp_has_forum_topics().
The patch also adds an include parameter for bp_has_forum_topics and
bp_forums_get_forum_topics().
The forum queries are kind of complicated, so I'd be grateful if others
could test this, especially if you're using custom forum loops.
--
Ticket URL: <http://trac.buddypress.org/ticket/2650>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list