Add current password confirmation to change password form

Recently, a question came up about adding an additional field to the change password form for the user to confirm their current password as a requirement of changing the password.

Adding the extra field is very easy with a filter.  The trickier part is to handle validating the new form input and providing an error message.  But this example will show you a reasonable approach to doing that.  

This article is only available to WP-Members Support Subscribers. If you have an existing subscription, please login below. If you do not have a current support subscription, you can purchase a support subscription here.

Existing Users Log In
   
New User Registration
*Required field