WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/22/2020 09:24:44 PM (16 months 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/setup-config.php

    r48115 r48126  
    107107    ?>
    108108<!DOCTYPE html>
    109 <html xmlns="http://www.w3.org/1999/xhtml"<?php echo $dir_attr; ?>>
     109<html<?php echo $dir_attr; ?>>
    110110<head>
    111111    <meta name="viewport" content="width=device-width" />
Note: See TracChangeset for help on using the changeset viewer.