Support » Plugin: SimpleModal Login » Change login redirect to profile.php

  • Hi,

    would you please change the admin url redirect when you log in, from wp-admin/ to wp-admin/profile.php.

    This will let us avoid showing some plugin dashboard widgets that should not be seen…

    It’s a small change, around line 361


    <p class="submit">
    <input type="submit" name="wp-submit" value="%s" tabindex="100" />
    <input type="button" class="simplemodal-close" value="%s" tabindex="101" />
    <input type="hidden" name="testcookie" value="1" />
    <input type="hidden" value="%sprofile.php" name="redirect_to">
    </p>
    <p class="nav">',
    __('Remember Me', 'simplemodal-login'),
    __('Log In', 'simplemodal-login'),
    __('Cancel', 'simplemodal-login'),
    get_admin_url()
    );

    Cheers
    Dario

    http://wordpress.org/extend/plugins/simplemodal-login/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Change login redirect to profile.php’ is closed to new replies.