Infinite loop bug when user name too long
-
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 );
break;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;
//SWITCH
…
$last_code = code;
} while (error);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Infinite loop bug when user name too long’ is closed to new replies.