unwanted registration user role problem Please check urgently

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by raaj95, Dec 5, 2016.

  1. raaj95

    raaj95 Member

    Joined:
    May 29, 2015
    Messages:
    133
    Likes Received:
    0
    Hello,

    Facing 2 issue-

    1. Website name is oye30.com. By default user role is subscriber but when any user register on this website its turn to author but in setting page by default user role is subscriber.... http://www.oye30.com/template-login/

    2. Daily unwanted people register on this website and also change user role (30- 40 people register on this site daily)

    Please check this issue urgently ... mail you website password

    Thanks
     
  2. fotoharry

    fotoharry New Member

    Joined:
    Nov 22, 2016
    Messages:
    1
    Likes Received:
    0
    Just find the following line in "functions/registration.php" and comment it out:
    PHP:
    wp_update_user(array('ID' => $user_id'role' => 'author'));
    I want to ask the developers what is the reason behind setting the newly registered user's role to an "author"? This doesn't seem to be a good practice at all.
     
  3. Naveen

    Naveen Guest

    Joined:
    Aug 8, 2014
    Messages:
    1,739
    Likes Received:
    64
    We have already made some changes in the theme and updated new version into the members area, please check the freshly downloaded file, you will see subscriber in place of author.

    Warm Regards!
    Naveen Kolhe
    InkThemes.com
     

Share This Page