From 8216e5019aa331d516303d8241b2f28eb54738c4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 22 Jun 2020 21:24:44 +0000 Subject: [PATCH] Administration: Remove the `xmlns` attribute on the `` tag. The attribute is specific to XHTML and is not needed in HTML5. Props audrasjb, diddledan, hommealone, joyously, mukesh27, valentinbora, peterwilsoncc, SergeyBiryukov. Fixes #49126. git-svn-id: https://develop.svn.wordpress.org/trunk@48126 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 2 +- src/wp-admin/install.php | 4 ++-- src/wp-admin/maint/repair.php | 2 +- src/wp-admin/setup-config.php | 2 +- src/wp-admin/upgrade.php | 2 +- src/wp-includes/functions.php | 2 +- src/wp-includes/ms-deprecated.php | 2 +- src/wp-includes/theme-compat/header.php | 2 +- src/wp-login.php | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 74352dfad5..9ee8e557f6 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2450,7 +2450,7 @@ function _wp_admin_html_begin() { ?> - - + Error: PHP is not running @@ -65,7 +65,7 @@ function display_header( $body_classes = '' ) { } ?> -> +> diff --git a/src/wp-admin/maint/repair.php b/src/wp-admin/maint/repair.php index e4ca4544a9..853cc6c8f4 100644 --- a/src/wp-admin/maint/repair.php +++ b/src/wp-admin/maint/repair.php @@ -12,7 +12,7 @@ require_once dirname( dirname( __DIR__ ) ) . '/wp-load.php'; header( 'Content-Type: text/html; charset=utf-8' ); ?> -> +> diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index b721f8158d..244f12ed4a 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -106,7 +106,7 @@ function setup_config_display_header( $body_classes = array() ) { header( 'Content-Type: text/html; charset=utf-8' ); ?> -> +> diff --git a/src/wp-admin/upgrade.php b/src/wp-admin/upgrade.php index 65a32dd916..0045bf77c8 100644 --- a/src/wp-admin/upgrade.php +++ b/src/wp-admin/upgrade.php @@ -56,7 +56,7 @@ if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) { header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); ?> -> +> diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index dd86047959..91d111e9e2 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3426,7 +3426,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { } ?> -> +> diff --git a/src/wp-includes/ms-deprecated.php b/src/wp-includes/ms-deprecated.php index d73eea116d..af98301ddc 100644 --- a/src/wp-includes/ms-deprecated.php +++ b/src/wp-includes/ms-deprecated.php @@ -91,7 +91,7 @@ function graceful_fail( $message ) { $message = apply_filters( 'graceful_fail', $message ); $message_template = apply_filters( 'graceful_fail_template', ' - + Error!