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/includes/template.php

    r48109 r48126  
    24512451    ?>
    24522452<!DOCTYPE html>
    2453 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>"
     2453<html class="<?php echo $admin_html_class; ?>"
    24542454    <?php
    24552455    /** This action is documented in wp-admin/includes/template.php */
Note: See TracChangeset for help on using the changeset viewer.