WordPress.org

Make WordPress Core

Changeset 18460


Ignore:
Timestamp:
07/22/11 00:25:41 (4 years ago)
Author:
azaozz
Message:

<!DOCTYPE html> for all, fixes #18202

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r18349 r18460  
    3131 
    3232?> 
    33 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     33<!DOCTYPE html> 
    3434<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 
    3535<head> 
  • trunk/wp-admin/includes/media.php

    r18365 r18460  
    310310function wp_iframe($content_func /* ... */) { 
    311311?> 
    312 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     312<!DOCTYPE html> 
    313313<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 
    314314<head> 
  • trunk/wp-admin/includes/template.php

    r18445 r18460  
    15511551    $admin_body_class .= ' iframe'; 
    15521552 
    1553 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     1553?><!DOCTYPE html> 
    15541554<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 
    15551555<head> 
  • trunk/wp-admin/install.php

    r16325 r18460  
    1010if ( false ) { 
    1111?> 
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     12<!DOCTYPE html> 
    1313<html xmlns="http://www.w3.org/1999/xhtml" > 
    1414<head> 
     
    5454    header( 'Content-Type: text/html; charset=utf-8' ); 
    5555?> 
    56 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     56<!DOCTYPE html> 
    5757<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    5858<head> 
  • trunk/wp-admin/maint/repair.php

    r16734 r18460  
    77header( 'Content-Type: text/html; charset=utf-8' ); 
    88?> 
    9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     9<!DOCTYPE html> 
    1010<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    1111<head> 
  • trunk/wp-admin/network/edit.php

    r17361 r18460  
    323323            wp_die( __( 'You are not allowed to change the current site.' ) ); 
    324324        ?> 
    325         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     325        <!DOCTYPE html> 
    326326        <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>> 
    327327            <head> 
  • trunk/wp-admin/press-this.php

    r18283 r18460  
    321321 
    322322?> 
    323 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     323<!DOCTYPE html> 
    324324<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 
    325325<head> 
  • trunk/wp-admin/setup-config.php

    r18375 r18460  
    7979    header( 'Content-Type: text/html; charset=utf-8' ); 
    8080?> 
    81 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     81<!DOCTYPE html> 
    8282<html xmlns="http://www.w3.org/1999/xhtml"> 
    8383<head> 
  • trunk/wp-admin/upgrade.php

    r17584 r18460  
    4343@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); 
    4444?> 
    45 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     45<!DOCTYPE html> 
    4646<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    4747<head> 
  • trunk/wp-includes/functions.php

    r18454 r18460  
    28372837        $text_direction = 'rtl'; 
    28382838?> 
    2839 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     2839<!DOCTYPE html> 
    28402840<!-- Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono --> 
    28412841<html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) && function_exists( 'is_rtl' ) ) language_attributes(); else echo "dir='$text_direction'"; ?>> 
     
    32863286    header( 'Content-Type: text/html; charset=utf-8' ); 
    32873287?> 
    3288 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     3288<!DOCTYPE html> 
    32893289<html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>> 
    32903290<head> 
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r18316 r18460  
    1010header('Content-Type: text/html; charset=' . get_bloginfo('charset')); 
    1111?> 
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     12<!DOCTYPE html> 
    1313<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    1414<head> 
  • trunk/wp-includes/load.php

    r18375 r18460  
    167167    header( 'Retry-After: 600' ); 
    168168?> 
    169     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     169    <!DOCTYPE html> 
    170170    <html xmlns="http://www.w3.org/1999/xhtml"> 
    171171    <head> 
  • trunk/wp-includes/ms-deprecated.php

    r17071 r18460  
    6969    $message = apply_filters( 'graceful_fail', $message ); 
    7070    $message_template = apply_filters( 'graceful_fail_template', 
    71 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     71'<!DOCTYPE html> 
    7272<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11"> 
    7373<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
  • trunk/wp-includes/theme-compat/comments-popup.php

    r17340 r18460  
    99 */ 
    1010_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) ); 
    11 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     11?><!DOCTYPE html> 
    1212<html xmlns="http://www.w3.org/1999/xhtml"> 
    1313<head> 
  • trunk/wp-includes/theme-compat/header.php

    r17340 r18460  
    1010_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) ); 
    1111?> 
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     12<!DOCTYPE html> 
    1313<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    1414 
  • trunk/wp-login.php

    r18328 r18460  
    5757 
    5858    ?> 
    59 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     59<!DOCTYPE html> 
    6060<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
    6161<head> 
Note: See TracChangeset for help on using the changeset viewer.