[buddypress-trac] [BuddyPress Trac] #5408: bp_is_{component}_directory new helper functions

buddypress-trac noreply at wordpress.org
Tue Feb 18 19:45:36 UTC 2014


#5408: bp_is_{component}_directory new helper functions
------------------------------+-----------------------
 Reporter:  imath             |       Owner:  imath
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  2.0
Component:  Core              |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------
Changes (by johnjamesjacoby):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This is fine for now, but I have a hunch we'll end up changing some of
 this. The `_is_` function names are fine, but they overlap with rewrite
 rules and determining directory pages.

 It's also weird to me that none of these (currently or needed to) call
 `bp_is_directory()`.

 Can we confirm whether not other places in BuddyPress would benefit from
 using these new functions before we reclose this ticket?

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


More information about the buddypress-trac mailing list