Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitizing Usernames in Widget #4

Closed
honustudios opened this issue Sep 30, 2011 · 1 comment
Closed

Sanitizing Usernames in Widget #4

honustudios opened this issue Sep 30, 2011 · 1 comment

Comments

@honustudios
Copy link

Hi great plugin, thank you so much. I'm using Sidebar Login with bbpress plugin.

When using %USERNAME% with users who have a space in their username the spaces get replaced in the url with 20% and the bbpress account page breaks. But replacing the the spaces in the username with dashes all is good.

So on lines 86 & 87 i wrapped $current_user->user_login with sanitize_title() and all is good.

Hope that helps in someway, don't know if that will help everyone, but it works my purposes.

Thanks again for the plugin!

@mikejolley
Copy link
Owner

Thanks; will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants