Viewing 1 replies (of 1 total)
  • Thread Starter jlamerto

    (@jlamerto)

    Also had to adjust bulkimport.php
    Line: 268
    $user = get_user_by(‘login’, $username);
    to
    $user = get_user_by(‘login’, sanitize_user($username, true));

    and line: 300
    if (!$user OR (strtolower($user->user_login) != strtolower($username))) { // use strtolower!!!
    to
    if (!$user OR (strtolower($user->user_login) != sanitize_user($username, true))) {

Viewing 1 replies (of 1 total)
  • The topic ‘Bulk import trouble with users containing apostrophe's’ is closed to new replies.