Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#4852 closed defect (bug) (invalid)

Incorrect grammar when author ends with an s

Reported by: Nazgul Owned by:
Milestone: Priority: low
Severity: trivial Version: 2.3
Component: I18N Keywords:
Focuses: Cc:


The following code in the_author_link contains a small bug.

sprintf(__("Visit %s's website"), get_the_author())

If get_the_author returns something which ends with an s, for example Niels, the output is Visit Niels's website, but it should be Visit Niels' website.

Change History (4)

comment:1 mdawaffe7 years ago

I do not believe it is incorrect grammar, but rather an issue of style and, as such, subjective.

comment:2 filosofo7 years ago

Actually, that's only true for plural possessives, not just words ending with "s," so the singular author should be fine.

From the MLA Handbook For Writers of Research Papers :

2.2.2 To form the possessive of a singular noun, add an apostrophe and an s. . . . All singular proper nouns, including the names of persons and places, form their possessives in the same manner (Mars's wrath, Camus's novel, Kansas's weather, Dickens's popularity, Jones's batting average, but the Dickenses' economic problems, the Joneses' estate).

comment:3 regulatethis6 years ago

The grammar is actually correct, as filosofo indicates above. Shouldn't this be set to invalid?

comment:4 Nazgul6 years ago

  • Milestone 2.4 deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.