WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#17148 closed enhancement (fixed)

Move charset declaration before title element in login

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

Description

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 3 years ago.
move content type and charset above title element

Download all attachments as: .zip

Change History (4)

niallkennedy3 years ago

move content type and charset above title element

comment:1 koopersmith3 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.

comment:2 nacin3 years ago

In [18206]:

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

comment:3 nacin3 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.