Theme My Login
Password UPDATE error messages not localized (2 posts)

  1. milanouser
    Posted 3 years ago #

    Hi again,

    just found another problem when playing around with the plugin:
    When using themed profile to edit user profile error messages for password UPDATE are not localized but come in English, taken from wp-admin\includes\user.php

    The reason is that the validation is taken from user.php which usually looks up admin po/mo files, but since user profile is not in admin section any more but on frontend, WP does not recognize strings.

    Possible solution:
    Include password update validation rules into plugin, just like password setting validation in custom-password.php. I am not sure where you would have to include them (maybe profile-form.php?)

    Any suggestion for a temporary work-around would also be highly appreciated


  2. Jeff Farthing
    Plugin Author

    Posted 3 years ago #

    Perhaps setting the constant WP_ADMIN to true while on the profile page will do the trick?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Theme My Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic