Make WordPress Core

Changeset 27716


Ignore:
Timestamp:
03/25/2014 05:21:45 PM (11 years ago)
Author:
nacin
Message:

Theme compat: Move <head profile> to <link>.

props spmlucas.
fixes #24523.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-deprecated.php

    r25445 r27716  
    8787    $message_template = apply_filters( 'graceful_fail_template',
    8888'<!DOCTYPE html>
    89 <html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">
     89<html xmlns="http://www.w3.org/1999/xhtml"><head>
    9090<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    9191<title>Error!</title>
  • trunk/src/wp-includes/theme-compat/header.php

    r19684 r27716  
    1212<!DOCTYPE html>
    1313<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    14 
    15 <head profile="http://gmpg.org/xfn/11">
     14<head>
     15<link rel="profile" href="http://gmpg.org/xfn/11" />
    1616<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    1717
Note: See TracChangeset for help on using the changeset viewer.