Support » Plugin: Admin Login As Different User » [Plugin: Admin Login As Different User] Some trouble

Viewing 7 replies - 1 through 7 (of 7 total)
  • i found the reason:the name of folder pluging include “-”

    Plugin Author emiecs_viphp

    (@emiecs_viphp)

    Hello 🙂

    Just open the file adminlogindifferentuser.php and change this code

    <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-content/plugins/adminlogindifferentuser/wp-userlogin.php">

    to

    <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-content/plugins/admin-login-as-different-user/wp-userlogin.php">

    on line 28 and it should work now.

    Plugin Author emiecs_viphp

    (@emiecs_viphp)

    Hello 🙂

    You can now download the latest version of this plugin.

    what is the change?

    Plugin Author emiecs_viphp

    (@emiecs_viphp)

    Hello 🙂

    I just fixed everything 🙂 and make sure the functionality will works Everything is okay now.

    You should never be hardcoding the plugin directory in your code. Users may choose their own directory names, which will break the plugin.

    See http://codex.wordpress.org/Function_Reference/plugin_basename for the right way to do it.

    Plugin Author emiecs_viphp

    (@emiecs_viphp)

    Hey :),

    Thanks for the brilliant idea… I just updated the code and its really cool…. it’s better to used that one since we can sure this plugin will work wherever this plugin is installed….. thanks 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Admin Login As Different User] Some trouble’ is closed to new replies.