[Bb-trac] [bbPress] #709: get_user_favorites needs a filter

bbPress bb-trac at lists.bbpress.org
Fri Jul 27 08:04:37 GMT 2007


#709: get_user_favorites needs a filter
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:         
     Type:  defect    |      Status:  new    
 Priority:  normal    |   Milestone:         
Component:  Back-end  |     Version:  0.8.2.1
 Severity:  normal    |    Keywords:         
----------------------+-----------------------------------------------------
 There is no way to pre or post process the favorites returned by function
 get_user_favorites

 This makes it virtually impossible to filter out private forum topics from
 members who should not see them.

 One of these would be nice?
 $where = apply_filters( 'get_user_favorites_where', etc.
 or
 return apply_filters($bb_cache->cache_posts( etc.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/709>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list