Permalink
Browse files

Use the wp_login_form() function for building a login form.

git-svn-id: http://svn.locallylost.com/plugins/members/trunk@502 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent 88de694 commit 23f316743a47c567248af092657a905e2c3f78cc greenshady committed Nov 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/shortcodes/shortcodes.php
@@ -153,10 +153,10 @@ function members_access_check_shortcode( $attr, $content = null ) {
* Displays a login form.
*
* @since 0.1
- * @uses members_get_login_form() Displays the login form.
+ * @uses wp_login_form() Displays the login form.
*/
function members_login_form_shortcode() {
- return members_get_login_form();
+ return wp_login_form( array( 'echo' => false ) );
}
?>

0 comments on commit 23f3167

Please sign in to comment.