Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See the attached screenshot - on the top right corner of the front page, anonymous users now have a link that says "User account" that was never there before, and is pretty confusing (because if you aren't logged in you don't have a user account yet...)
This appears to be a side effect of #925778: User edit title is broken (so is beta1-beta2 upgrade path).
Comment | File | Size | Author |
---|---|---|---|
#2 | anon_user_account_link.patch | 695 bytes | rjgoldsborough |
#2 | anon_user_login_register_link.png | 39.08 KB | rjgoldsborough |
user_account_link.png | 37.41 KB | David_Rothstein |
Comments
Comment #1
HazaAccording to the code/comment we have in user.module, this is what we expected, but I agree that this is confusing
Comment #2
rjgoldsborough CreditAttribution: rjgoldsborough commentedI also agree this is confusing. This patch simply changes that link from "User Account" to "Login/Register" which I think makes much more sense.
Comment #4
David_Rothstein CreditAttribution: David_Rothstein commentedAlthough I tried to start a new issue instead, it looks like #925778: User edit title is broken (so is beta1-beta2 upgrade path) was reopened and the latest patch there addresses this too :( Maybe we should close this as a duplicate at this point?
The approach in the patch here is interesting, but we wouldn't want to say "register" always because some sites don't allow user registration. Also, as described at http://drupal.org/node/925778#comment-3558074, this title is also used as the title of the user login page itself, so changing it affects more than just the link title.
I'm guessing we do just want to remove the link completely (i.e. go back to the way it was before), which I think the patch on the other issue does.
Comment #5
rjgoldsborough CreditAttribution: rjgoldsborough commentedSounds good to me. They seem to have a much more solid patch over there anyway. Good point about using "register", I didn't really think about that. I also noticed the second error you mentioned after the failed test. But all in all, I agree we can close this as a duplicate as this issue seems to be fully addressed elsewhere.