Make WordPress Core


Ignore:
Timestamp:
06/22/2020 09:24:44 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Administration: Remove the xmlns attribute on the <html> tag.

The attribute is specific to XHTML and is not needed in HTML5.

Props audrasjb, diddledan, hommealone, joyously, mukesh27, valentinbora, peterwilsoncc, SergeyBiryukov.
Fixes #49126.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r47859 r48126  
    1111    ?>
    1212<!DOCTYPE html>
    13 <html xmlns="http://www.w3.org/1999/xhtml">
     13<html>
    1414<head>
    1515    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
    6666    ?>
    6767<!DOCTYPE html>
    68 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     68<html <?php language_attributes(); ?>>
    6969<head>
    7070    <meta name="viewport" content="width=device-width" />
Note: See TracChangeset for help on using the changeset viewer.