The script is not only broken it is abandoned. If you try to enter into the URL: wp-admin, it breaks the theme and exposes your relative URL, not good. It looks nasty.
The script is not only broken it is abandoned. If you try to enter into the URL: wp-admin, it breaks the theme and exposes your relative URL, not good. It looks nasty.
I made a simple change on line 328 and 333 of lockdown-wp-admin.php that seems to have fixed the issue for me:
Rather than throwing wp_die I changed both to just straight header redirect to the 404.php file (not as elegant, but appears to do the trick just fine).
header('Location: /'.bloginfo('template_url').'404.php');
Thanks for the plugin!
Updated it in 1.9 to fix those issues with the 404 template. If anybody is till having an issue with the wrong 404 template, let me know.
This topic has been closed to new replies.