Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3608 closed defect (bug) (fixed)

Output language dependant on html_type

Reported by: nickshanks Owned by:
Priority: highest omg bbq Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Only output one of lang or xml:lang, depending on whether the document is served as HTML or not.

Attachments (1)

general_templates.diff (533 bytes ) - added by nickshanks 20 years ago.
Very simple patch

Download all attachments as: .zip

Change History (3)

@nickshanks
20 years ago

Very simple patch

#1 @nickshanks
20 years ago

  • Milestone 2.22.1
  • Priority normalhighest omg bbq

I think this can go in 2.1 with no ill-effects. Setting to high per rboren's request.

#2 @markjaquith
20 years ago

  • Resolutionfixed
  • Status newclosed

(In [4775]) use lang for text/html and xml:lang for all others. Props nickshanks. fixes #3608

Note: See TracTickets for help on using tickets.