[buddypress-trac] [BuddyPress] #3399: Audit usage of bp_is_current_component()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Aug 30 04:57:12 UTC 2011


#3399: Audit usage of bp_is_current_component()
------------------------------+------------------
 Reporter:  r-a-y             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  1.5
Component:  Core              |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by r-a-y):

 Repatched!

 I noticed some other overlap like:
 `!bp_is_current_component( 'activity' ) || !bp_is_user()`

 Which is the same as:
 `!bp_is_user_activity()`

 So I added them in this patch.  There could be more like this in the
 codebase.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3399#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list