Can’t Set Password for New Users (WP 5.8.1)
-
There used to be two password fields in the New User screen. One to write the password, and one to confirm the password. However, I’m only seeing one. After using the inspector tool, I found there’s a particular style being loaded that adds “display:none” to the second password field
This is the html code of the missing password elements (second password field and Confirm Use of Weak password checkbox):
<th scope="row"><label for="pass2">Repeat Password <span class="description">(required)</span></label></th> <td> <input name="pass2" type="password" id="pass2" autocomplete="off" aria-describedby="pass2-desc"> <p class="description" id="pass2-desc">Type the password again.</p> </td> <th>Confirm Password</th> <td> <label> <input type="checkbox" name="pw_weak" class="pw-checkbox">Confirm use of weak password</label> </td>
And this is the CSS that’s hiding them:
.hidden, .js .closed .inside, .js .hide-if-js, .js .wp-core-ui .hide-if-js, .js.wp-core-ui .hide-if-js, .no-js .hide-if-no-js, .no-js .wp-core-ui .hide-if-no-js, .no-js.wp-core-ui .hide-if-no-js { display:none; } .pw-weak { display: none; }
I have not added those styles myself, and after deactivating the plugins I think which might be causing them, the missing password elements still don’t show up.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Can’t Set Password for New Users (WP 5.8.1)’ is closed to new replies.