WordPress.org

Ready to get started?Download WordPress

Forums

Social Connect
[resolved] issue when don't need to create new user (2 posts)

  1. bsndev
    Member
    Posted 3 years ago #

    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!

  2. thenbrent
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic