affiliatewp/AffiliateWP — pull request #281 by tubiz (2014-07-08 00:45:13+00:00)
Title: Retain form values when form error on register page

This is fix for issue issue #262.

I added a new function ```get_errors``` that returns all the POST errors.
Using this function to get all the POST errors and check whether to clear or retain the values of the username or email address that a user submit when registering.