How to fix “google” username and duplicate prefix field
-
As others have pointed out, there are a couple issues with this plugin that need addressed. I was able to fix them myself, and figured others could benefit from this, as the plugin authors seem to have abandoned it.
To fix the username being “google”, search for “$sanitized_user_login = ” in nextend-google-connect.php and replace it with the following…
$username = strtolower($u['given_name'] . $u['family_name']); $sanitized_user_login = sanitize_user($new_google_settings['google_user_prefix'] . $username);
To remove the duplicate prefix field in the admin settings, open nextend-google-settings.php. Remove the entire table row starting at line 172 and ending at 178.
- The topic ‘How to fix “google” username and duplicate prefix field’ is closed to new replies.