Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#17148 closed enhancement (fixed)

Move charset declaration before title element in login

Reported by: niallkennedy's profile niallkennedy Owned by: koopersmith's profile koopersmith
Milestone: 3.2 Priority: normal
Severity: minor Version:
Component: Charset Keywords: has-patch
Focuses: Cc:


Best practice to declare your character set before outputting character values. Web browsers may attempt to guess character encoding by examining the first bytes of the page. Provide a faster match for browsers before they process page content.

Also helps prevent UTF-7 security issues.

Attachments (1)

wp-login.diff (771 bytes) - added by niallkennedy 13 years ago.
move content type and charset above title element

Download all attachments as: .zip

Change History (4)

13 years ago

move content type and charset above title element

#1 @koopersmith
13 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from new to closed

In [18205]:

Prevent items from overflowing from the 'howdy' menu. Props Otto42. fixes #17148.

#2 @nacin
13 years ago

In [18206]:

Move charset declaration to just inside <head>. props niallkennedy, fixes #17148.

#3 @nacin
13 years ago

  • Milestone changed from Awaiting Review to 3.2

This one looked good. Obviously, [18205] does not belong here. Rather, on #17418.

Note: See TracTickets for help on using tickets.