I think it is a bug that user_uri() returns 'user/0' if you pass in drupal_anonymous_user() to it. It should return nothing because user/0 is not a valid page in Drupal.
↧
I think it is a bug that user_uri() returns 'user/0' if you pass in drupal_anonymous_user() to it. It should return nothing because user/0 is not a valid page in Drupal.