Support » Plugin: FeedWordPress » Infinite loop bug when user name too long

  • hughie.molloy


    Can you add a check to see if user_login too long after line 2290 of syndicatedpost.class? Something like below:

    case ‘user_login_too_long’ :
    // Add a limited 50 characters user_login based on user_login
    $userdata[‘user_login’] = mb_substr( $userdata[‘user_login’], 0, 50 );

    Also this do-while should check if the error code is the same and if so break. Somthing like:

    $last_code = null;
    do {

    if (error){
    $code = get_error_code;
    if (code === last_code) break;

    $last_code = code;
    } while (error);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.