Ticket #5296 (closed enhancement: fixed)

Opened 10 months ago

Last modified 9 months ago

"Login" used in place of "Log In" (Grammar error)

Reported by: doug Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: Template Version: 2.3
Severity: minor Keywords: has-patch commit
Cc:

Description

The wp_loginout() function in general-template.php and the form in wp-login.php incorrectly display the nouns "Login" and "Logout" instead of the verbs "Log In" and "Log Out". (This is only an error when the words are displayed to the user, not necessarily when they occur within the code itself.)

An easy way to remember the difference is to try to form a present participle. Are you "logging in" or "loginning"?

I note that trac makes the same error, while the WordPress forums do not!

Attachments

login.text.diff (7.0 kB) - added by doug on 11/26/07 03:54:41.

Change History

(follow-up: ↓ 2 ) 11/01/07 03:37:07 changed by Viper007Bond

http://dictionary.reference.com/search?q=login

A perfectly valid usage of the word.

(in reply to: ↑ 1 ) 11/01/07 03:42:20 changed by filosofo

Replying to Viper007Bond:

http://dictionary.reference.com/search?q=login A perfectly valid usage of the word.

Actually, that link shows "login" used only as a noun, not a verb.

(follow-up: ↓ 4 ) 11/01/07 03:51:06 changed by Viper007Bond

Well take the form for example -- it's a "Login Form", not a "Log In Form".

(in reply to: ↑ 3 ) 11/01/07 04:37:45 changed by foolswisdom

  • version set to 2.3.
  • milestone changed from 2.5 to 2.4.

Replying to Viper007Bond:

Well take the form for example -- it's a "Login Form", not a "Log In Form".

Viper007Bond, that is another example of its use as a none. It is a much abused grammar, see facebook.com for example, but easy enough to fix ;-)

11/01/07 04:39:12 changed by foolswisdom

noun*

11/01/07 04:43:25 changed by Viper007Bond

I disagree. I think it is correct how it is now. "Login" isn't a mispelling of "log in", it's a completely different word and being properly used in this case IMO.

Okay, so may not be the King's English or Oxford English or whatever (it's debatable), but in terms of the Internet, I think it's correct how it is and I'm strongly opposed to changing it.

11/01/07 04:55:22 changed by foolswisdom

(follow-up: ↓ 9 ) 11/01/07 05:08:59 changed by Viper007Bond

Hmm. Then why does PayPal? have "Account login"?

Don't get me wrong, I get what you guys are saying, but it just seems "wrong". It would make sense for the button on the form to say "log in" as that's what you are doing -- logging in, but the link on the homepage is taking you to the "login form" and clicking it isn't logging you in.

Or at least that's what make sense to my non-English teacher self.

(in reply to: ↑ 8 ) 11/01/07 13:04:46 changed by doug

I'm not talking about Oxford English, just English. :) As you say, "log in" and "login" are different words (whether used on the Internet or not), and I think it's important to use the right one.

Replying to Viper007Bond:

It would make sense for the button on the form to say "log in" as that's what you are doing -- logging in, but the link on the homepage is taking you to the "login form" and clicking it isn't logging you in.

I'm glad you agree the button on the login form should say "Log In" because it is indeed performing an action and thus requires a verb.

As for the link on the homepage, it's less clear, but I would argue that a typical user sees this and thinks "I need to click here to log in," not "I need to click here because this takes me to the login form, which will let me log in." It's a subtle difference, but users tend to think in actions, not objects. You (or the application) would tell someone: "Log in [to do more stuff]" not "go the login form."

And again, this is the approach the WordPress forums take.

Thanks for considering.

11/26/07 03:54:41 changed by doug

  • attachment login.text.diff added.

11/26/07 04:07:53 changed by doug

I've attached a patch. (Hey, my first patch ever! TortoiseSVN is very cool.) I think I found all the places 'login' and 'logout' should be changed to 'log in' and 'log out', including within the default and classic themes.

In case I need to bolster my case a bit:

* 'Log in' is used alongside (and in equivalent syntax as) the phrases "Get New Password", "Register", and "(Go) Back to blog", all of which are verb phrases. * 'Log out' is always accompanied by the title attribute (pop-up text) "Log out of this account", confirming its status as a verb phrase. * The Dashboard uses the similar phrase "Sign Out", which is a verb.

In addition to the above changes, I also reordered the links on the Register and Lost Password forms to be more consistent.

(follow-up: ↓ 13 ) 11/26/07 19:09:44 changed by ryan

See also #1088

11/26/07 19:31:37 changed by lloydbudd

  • keywords set to has-patch commit.

(in reply to: ↑ 11 ) 11/26/07 19:38:13 changed by lloydbudd

Replying to ryan:

See also #1088

That is a different issue. This is the verb form, or should have been, instead the noun was used.

11/26/07 19:43:43 changed by ryan

Understood, just adding for history. We use username as the noun.

11/26/07 19:44:36 changed by ryan

So now we can argue about "Log in" versus "Log In" versus "Sign in" versus "Sign In".

11/26/07 21:40:01 changed by ryan

(In [6343]) Use 'Log in' instead of 'Login' for verb form. Props doug. see #5296

11/26/07 21:40:36 changed by ryan

Went with doug's patch for now. If we're all cool with "Log in", then close this as fixed.

12/07/07 08:28:50 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.