WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. milanouser
    Member
    Posted 1 year 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
    Cheers

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year 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

About this Topic