[buddypress-trac] [BuddyPress] #4037: When a user registers and wishes to create a blog, the password entered is not saved

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 23 00:24:41 UTC 2012


#4037: When a user registers and wishes to create a blog, the password entered is
not saved
--------------------------+-----------------------------
 Reporter:  WACKA1        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Members       |    Version:  1.5.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi,

 From the code it looks like, that if a user decides to create a new blog
 then the function to create a bp user (bp_core_signup_user) is not called:

 In bp-members-screens.php:

 // Finally, sign up the user and/or blog
                                 if ( isset( $_POST['signup_with_blog'] )
 && is_multisite() )
                                         bp_core_signup_blog(
 $blog_details['domain'], $blog_details['path'],
 $blog_details['blog_title'], $_POST['signup_username'],
 $_POST['signup_email'], $usermeta );
                                 else
                                         bp_core_signup_user(
 $_POST['signup_username'], $_POST['signup_password'],
 $_POST['signup_email'], $usermeta );

  Should the bp_core_signup_user be called regardless? And not as an 'else'
 clause?

 Please be gentle with any replies, this is my first time looking at the
 code,

 Conor

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4037>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list