WordPress.org

Ready to get started?Download WordPress

Forums

Rename wp-login.php
[resolved] A request (8 posts)

  1. gizmomol
    Member
    Posted 10 months ago #

    Thank you for your plugin "Rename wp-login.php".

    It works as you designed and has already stopped many Bots on my site. Your plugin is the first I have seen that actually prevents access to the default /wp-login.php which is targeted by many bots.

    It works and very well.

    I also use another plugin "User Switching" which allows a site admin to assume the user_id of another. We use this plugin often enough to test user permissions and even fix a few things not editable using wordpress.

    Unfortunately your plugin disables the "user switching" plugin. The switching plugin is http://wordpress.org/plugins/user-switching/ . It passes GET parms like this ?action=switch_to_user&user_id=323&_wpnonce=123456790.

    I diffed your changes of wp-login.php and they look very logical and simple enough. But for some reason it does not work with user switching. The original user switching does not require the administrator to know user passwords and do an new login.

    The "user switching" is a popular plugin so I am requesting that you enable you plugin to support it as well.

    Thanks for you great plugin!

    http://wordpress.org/plugins/rename-wp-login/

  2. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 10 months ago #

    Thank you for your feedback! I’ve used User Switching before and it's very useful indeed, so I’ll do my best to make it work. I’ll keep you updated.

  3. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 10 months ago #

    @gizmomol @johnbillion

    Found the problem - I hook into init just before User Switching gets the chance, so I’ll give it priority 11 instead of the default 10 (we both hook at 10).

    I released a new version, 1.5, which should fix your problem.

  4. gizmomol
    Member
    Posted 10 months ago #

    I tested your Rename wp-login.php plugin, version 1.5 on WP 3.42 and 3.6 and it worked correctly on both WP versions. The priority 11 change enabled the User Switching plugin to work.

    Your plugin is really useful and adds a simple solution to a nagging WP problem.

    Thank you Avryl!

  5. John Blackbourn
    Member
    Posted 10 months ago #

    Thanks for the update Avryl!

  6. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 10 months ago #

    @johnbillion Just wondering, but why don't you hook into login_init?

  7. John Blackbourn
    Member
    Posted 10 months ago #

    It's just a remnant of how the plugin used to work. The switch links used to point to wp-admin rather than wp-login.php but I subsequently changed it. I'll bear it in mind for the next version!

  8. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 10 months ago #

    Ok, thanks!

Reply

You must log in to post.

About this Plugin

About this Topic