replaced bp_is_current_action with new BP 1.6 equivalent for $bp->action_variable[0], bp_is_action_variable()