extract( $r );
if ( !empty( $action ) )
$login_url = add_query_arg( array( 'action' => $action ), 'wp-login.php' );
else
$login_url = 'wp-login.php';
$login_url = site_url( $login_url, $context );
echo apply_filters( 'bbp_wp_login_action', $login_url, $args );
}
/**
* Output hidden request URI field for user forms.
*
* The referer link is the current Request URI from the server super global. The
* input name is '_wp_http_referer', in case you wanted to check manually.
*
* @since bbPress (r2815)
*