WordPress.org

Make WordPress Core

Ticket #17148: wp-login.diff

File wp-login.diff, 771 bytes (added by niallkennedy, 3 years ago)

move content type and charset above title element

  • wp-login.php

     
    5959<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    6060<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    6161<head> 
     62        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
    6263        <title><?php bloginfo('name'); ?> &rsaquo; <?php echo $title; ?></title> 
    63         <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
    6464<?php 
    6565        wp_admin_css( 'login', true ); 
    6666        wp_admin_css( 'colors-fresh', true );