Make WordPress Core

Opened 12 years ago

Closed 9 years ago

#22474 closed enhancement (fixed)

Change case in Hello world!

Reported by: jane's profile jane Owned by: chriscct7's profile chriscct7
Milestone: 4.3 Priority: normal
Severity: normal Version: 3.4
Component: Text Changes Keywords: has-patch commit
Focuses: Cc:

Description

Currently, the "Hello world!" headline on the default post is in sentence case rather than title case, which would be "Hello World!"

Title case and sentence case are both grammatically correct, you just need to pick a standard and stick to it. But let's face it, headlines usually use title case. I propose that we change the default post title to use title case instead of sentence case.

Attachments (2)

22474.diff (586 bytes) - added by ryanduff 12 years ago.
22474.2.patch (2.5 KB) - added by chriscct7 9 years ago.

Download all attachments as: .zip

Change History (11)

@ryanduff
12 years ago

#1 @ryanduff
12 years ago

  • Cc ryan@… added
  • Component changed from General to Upgrade/Install
  • Keywords has-patch added; needs-patch removed

#2 @greenshady
12 years ago

  • Cc justin@… added

Whether one or both is correct would depend on your style guide. Since blogging is often synonymous with journalism, we should follow the convention of leaving "world" without an uppercase letter.

Another reason to follow this convention is that the title is a complete sentence with a closing punctuation mark.

If anything, I'd argue the text should be "Hello, world!"

#3 @SergeyBiryukov
11 years ago

  • Component changed from Upgrade/Install to Text Changes

#4 @chriscct7
9 years ago

  • Milestone changed from Awaiting Review to 4.3
  • Owner set to chriscct7
  • Priority changed from low to normal
  • Severity changed from trivial to normal
  • Status changed from new to accepted
  • Version changed from 3.4.2 to 3.4

The text both to be correct historically and for being correct titlecase should be "Hello, World!".

Updated patch attached that also changes "blogging" to "writing", more in line with CMS text, and "blog" to "website" for the same reason.

@chriscct7
9 years ago

#5 @obenland
9 years ago

I like it.

#6 @chriscct7
9 years ago

  • Keywords commit added

#7 @nacin
9 years ago

I like some of these changes, but I think we should keep "blog post" in the page text. I also think we should keep "Hello world!" Not everyone uses title case for headlines. It's been like this forever, and is ubiquitous in that exact format on the internet thanks to WordPress. I don't think it should change at this point.

#8 @nacin
9 years ago

(@helen voiced general agreement on these.)

#9 @nacin
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 32768:

Tweak the first post/page content to get with the times.

props chriscct7.
fixes #22474.

Note: See TracTickets for help on using tickets.