WordPress.org

Ready to get started?Download WordPress

Forums

Lockdown WP Admin
[resolved] The script is broken (3 posts)

  1. Caps
    Blocked
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/lockdown-wp-admin/

  2. CammoKing
    Member
    Posted 2 years ago #

    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!

  3. Sean Fisher
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic