Wrong URL in Leaderboards widget
-
Hi,
Normally when you register through PeepSo or WordPress or any other properly created wordpress plugin you can use your email as username that’s fine you can login with:
login: something@something.com
then the link to your profile will be a wordpress nicename likeso: http://peep.so/profile/?somethingsomething-com/
The myCRED seems to be using USERNAMES not NICENAMES. The assumption is that usernames will always be url safe. They aren’t: For example: http://peep.so/profile/?something%40something.com/
$profile_url = get_bloginfo( ‘url’ ) . ‘/’ . $wp_rewrite->author_base . ‘/’ . urlencode( $user->user_login ) . ‘/’;
Should be using: user_nicename
Please advise.
Kindest regards,
Eric Tracz
https://PeepSo.com
The topic ‘Wrong URL in Leaderboards widget’ is closed to new replies.