Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#3608 closed defect (bug) (fixed)

Output language dependant on html_type

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

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 18 years ago.
Very simple patch

Download all attachments as: .zip

Change History (3)

@nickshanks
18 years ago

Very simple patch

#1 @nickshanks
18 years ago

  • Milestone changed from 2.2 to 2.1
  • Priority changed from normal to highest omg bbq

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

#2 @markjaquith
18 years ago

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

(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.