[buddypress-trac] [BuddyPress Trac] #6286: Directories filtered by member roles

buddypress-trac noreply at wordpress.org
Wed Apr 1 20:35:18 UTC 2015


#6286: Directories filtered by member roles
--------------------------+------------------
 Reporter:  sooskriszta   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.3
Component:  API           |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by r-a-y):

 >  and if one is not found, it 404s. All this would have to be undone in a
 'bp_screens' callback.

 I guess we don't want to add any other hacks into the `'bp_screens'`
 callback.

 Patch looks good.  What is the purpose of line 311?
 `} elseif ( empty( $bp->current_member_type ) ) {`

 Is this necessary?

 This should be outside of this patch, but lines 307 and 312 look like they
 can be merged:
 `$bp_uri                = array_merge( array(), array_slice( $bp_uri,
 $uri_offset + 2 ) );`

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6286#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list