title: WP user registration - can also choose his/her password right away
body: <p>Here's a very short guide for front-end registration but Im having a small problem with password.</p>
  
  <p><strong>I disabled the email with password generation that gets sent if user registers:</strong></p>
  
  <pre><code>//Don't Send Notification Email To Registered User
  if (!function_exists('wp_new_user_notification')) :
  function wp_new_user_notification( $user_id, $notify = '' ) {
  
  //Here's originally password generation + sending email
  //Add greeting email later
  
  }
  endif;
  </code></pre>
  
  <ul>
  <li>User gets no email when registered</li>
  <li>Yes, it's added by plugin because pluggable.php can only be overwritten from plugin</li>
  </ul>
  
  <hr>
  
  <p><strong>My front-end register form (don't mind that "repeat password" is missing - just for testing):</strong></p>
  
  <pre><code>        &lt;?php if( get_option('users_can_register') ) { ?&gt;
  
                      &lt;form name="registerform" id="registerform" action="&lt;?php echo wp_registration_url(); ?&gt;" method="post"&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;input type="text" name="user_login" id="user_login" class="form-control" placeholder="Username"&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;input type="text" name="user_email" id="user_email" class="form-control" placeholder="Email"&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;input type="password" name="user_pass" id="user_pass" class="form-control" placeholder="Password"&gt;
                          &lt;/div&gt;  
  
                          &lt;input type="hidden" name="redirect_to" value="&lt;?php echo site_url(); ?&gt;?user-register=registered"&gt;
                          &lt;input type="submit" name="wp-submit-registration" id="wp-submit-registration" value="&lt;?php _e( 'Register', 'tt' ); ?&gt;"&gt;
                      &lt;/form&gt;
  
          &lt;?php } ?&gt;
  </code></pre>
  
  <p><strong>QUESTION: Why doesn't it save password on user registration?</strong></p>
  
  <ul>
  <li>Everything else besides password works - user gets registered &amp; correct data is inserted</li>
  <li>Do I use wrong keyword somewhere (user_pass)?</li>
  <li>Could it be that password can't be set with original wp_registration_url()?</li>
  <li>If that's the case, should/and how should I use wp insert user()?</li>
  </ul>
  
  <p><strong>I would also appriciate if someone threw in a link how to add WP password strength indicator because I didn't find any tuts.</strong></p>