• The custom messages from the plugin only show up if the url ends in exactly wp-login.php but, if a user was redirected from a protected page (ex: wp-login.php?redirect_to=someUrl) the messages are not shown.

    I changed classes/ura-message.php line 66 from:
    if($page == wp_login_url()){
    to:
    if(strpos($page, wp_login_url()) !== false){

    If there is a better way to suggest pull requests/code changes, please let me know.

Viewing 1 replies (of 1 total)
  • Plugin Author bnovotny

    (@bnovotny)

    I have it set to the standard wp login page because I have no way of knowing what other plugins or themes do and no way to test them all. From experience I have found that some custom themes with custom logins do not use WordPress actions and filters which my plugin relies on so it would break it, so that is why that is like that. I also have limited means of testing that so I do not know. If it works then go with it. I will look into a work around for that in the future when I am working on it though. The plugin was primarily designed for use with the standard default WordPress login/registration forms though.

    • This reply was modified 7 years, 9 months ago by bnovotny.
Viewing 1 replies (of 1 total)
  • The topic ‘Messages not shown with redirect_to query params’ is closed to new replies.