[Plugin: Theme My Login] Custom profiles restrict admin and 'wp_ajax_' in 6.2
-
Long waited update. Thanks a ton.
I small issue I had with new version I think could be a bug is that when admin in restricted for a role ‘wp_ajax_$action’ is redirecting to profile for those users. Adding
! DOING_AJAX
to conditions for that redirect fixed it. That would be line 41 ( themed-profiles.php ). I understand admin-ajax.php falls under theis_admin()
hood and that’s why it’s behaving like that.
- The topic ‘[Plugin: Theme My Login] Custom profiles restrict admin and 'wp_ajax_' in 6.2’ is closed to new replies.