WordPress.org

Support

Support » Plugins and Hacks » [Resolved] issue when don't need to create new user

[Resolved] issue when don't need to create new user

  • Hi,

    I’m creating plugin social-avatars, which works based on social connect plugin.
    I’ve found an issue with ‘social_connect_login’ action, when there is registered user in system. It still running the action with username generated in the process of login in case there is no registered user with such email or facebook/twitter account linked in already. I have the changes to the code I can share with you which fix the issue.
    I also would like to ask you add few actions for good work with plugin I’m creating.

    Please leave your email or email me at bsn.dev@gmail.com, thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author thenbrent

    @thenbrent

    Hi bsndev, RE: $user_login right you are. Thanks for reporting.

    In the dev version I’ve change the offending line to:

    $user_data  = get_userdata( $user_id );
    $user_login = $user_data->user_login;
    do_action( 'social_connect_login', $user_login );

    I’ll send an email now for patches with filters. The plugin is also on GitHub where you can fork it and make a pull request with your changes.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] issue when don't need to create new user’ is closed to new replies.