Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/22/2011 03:42:54 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Use new bp_is_current_action function in single user activity template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/activity.php

    r3810 r3833  
    2121
    2222                <?php
    23                 if ( 'groups' != bp_current_action() ) :
     23                if ( !bp_is_current_action( 'groups' ) ) :
    2424                    if ( bp_is_active( 'blogs' ) ) : ?>
    2525
     
    6262
    6363<?php
    64 if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_is_current_action() || bp_is_current_action( 'just-me' ) ) )
     64if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )
    6565    locate_template( array( 'activity/post-form.php'), true );
    6666
Note: See TracChangeset for help on using the changeset viewer.