• Resolved Rajon Ahmed

    (@engrrajonahmed)


    Hi Developer,
    This plugin works great. Then I installed Theme My Login. After that, I was testing the setup. It seems when this plugin is activated the “Theme My Login” doesn’t work properly. If user input is invalid the Theme My Login doesn’t show any warning. But when the plugin is reactive the Theme My Login works properly.

    How can I fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @engrrajonahmed,

    I analyzed the Theme My Login plugin’s source code and tested it on my development server. Unfortunately, I was unable to replicate this problem. Do you possibly have a real URL example where I can test it?

    In general, Theme My Login employs a series of custom rewrite rules that should not conflict with Permalink Manager. However, you may use the following code snippet to ensure that my plugin ignores them.

    function pm_ignore_theme_my_login($query, $old_query, $uri_parts, $pm_query, $content_type) {
    	if(!empty($old_query['action']) && in_array($old_query['action'], array('dashboard', 'login', 'logout', 'register', 'lostpassword', 'resetpass', 'confirmaction'))) {
    		return $old_query;
    	}
    
    	return $query;
    }
    add_filter('permalink_manager_filter_query', 'pm_ignore_theme_my_login', 3, 5);
    Plugin Author Maciej Bis

    (@mbis)

    Hi @engrrajonahmed,

    Since I have not heard from you, I assume that you have figured out how to solve this problem. If not, please feel free to reopen this topic and provide further information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalink Manager Lite + Theme My Login’ is closed to new replies.