WordPress.org

Make WordPress Core

Ticket #14771: 14771.diff

File 14771.diff, 13.4 KB (added by mitchoyoshitaka, 7 years ago)
  • wp-login.php

    Property changes on: .
    ___________________________________________________________________
    Added: svn:ignore
       + wp-config.trunk.php
    wp-config.shrimptest.php
    wp-config.php
    .htaccess
    domains
    
    
     
    5656                add_action( 'login_head', 'wp_shake_js', 12 );
    5757
    5858        ?>
    59 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    60 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     59<!DOCTYPE html>
     60<html <?php language_attributes(); ?>>
    6161<head>
    6262        <title><?php bloginfo('name'); ?> &rsaquo; <?php echo $title; ?></title>
    6363        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  • wp-includes/functions.php

     
    28402840        elseif ( function_exists( 'is_rtl' ) && is_rtl() )
    28412841                $text_direction = 'rtl';
    28422842?>
    2843 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2843<!DOCTYPE html>
    28442844<!-- 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 -->
    2845 <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'"; ?>>
     2845<html <?php if ( function_exists( 'language_attributes' ) && function_exists( 'is_rtl' ) ) language_attributes(); else echo "dir='$text_direction'"; ?>>
    28462846<head>
    28472847        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    28482848        <title><?php echo $title ?></title>
     
    32893289        nocache_headers();
    32903290        header( 'Content-Type: text/html; charset=utf-8' );
    32913291?>
    3292 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3293 <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>>
     3292<!DOCTYPE html>
     3293<html <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>>
    32943294<head>
    32953295<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    32963296        <title>Database Error</title>
  • wp-includes/load.php

     
    161161        header( 'Content-Type: text/html; charset=utf-8' );
    162162        header( 'Retry-After: 600' );
    163163?>
    164         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    165         <html xmlns="http://www.w3.org/1999/xhtml">
     164        <!DOCTYPE html>
     165        <html>
    166166        <head>
    167167        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    168168                <title><?php echo /*WP_I18N_MAINTENANCE*/'Maintenance'/*/WP_I18N_MAINTENANCE*/; ?></title>
  • wp-includes/ms-deprecated.php

     
    6868        _deprecated_function( __FUNCTION__, '3.0', 'wp_die()' );
    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">
    72 <html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">
     71'<!DOCTYPE html>
     72<html><head profile="http://gmpg.org/xfn/11">
    7373<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    7474<title>Error!</title>
    7575<style type="text/css">
  • wp-includes/theme-compat/comments-popup.php

     
    88 *
    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">
    12 <html xmlns="http://www.w3.org/1999/xhtml">
     11?><!DOCTYPE html>
     12<html>
    1313<head>
    1414     <title><?php printf(__('%1$s - Comments on %2$s'), get_option('blogname'), the_title('','',false)); ?></title>
    1515
  • wp-includes/theme-compat/header.php

     
    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__) ) );
    1111?>
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    13 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     12<!DOCTYPE html>
     13<html <?php language_attributes(); ?>>
    1414
    1515<head profile="http://gmpg.org/xfn/11">
    1616<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  • readme.html

     
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml">
     1<!DOCTYPE html>
     2<html>
    33<head>
    44        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    55        <title>WordPress &#8250; ReadMe</title>
  • wp-admin/includes/template.php

     
    15491549        $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
    15501550        $admin_body_class .= ' iframe';
    15511551
    1552 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    1553 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     1552?><!DOCTYPE html>
     1553<html <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    15541554<head>
    15551555<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    15561556<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title ?> &#8212; <?php _e('WordPress'); ?></title>
  • wp-admin/includes/media.php

     
    301301 */
    302302function wp_iframe($content_func /* ... */) {
    303303?>
    304 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    305 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     304<!DOCTYPE html>
     305<html <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    306306<head>
    307307<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    308308<title><?php bloginfo('name') ?> &rsaquo; <?php _e('Uploads'); ?> &#8212; <?php _e('WordPress'); ?></title>
  • wp-admin/network/edit.php

     
    322322                if ( $current_site->blog_id == $id )
    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">
    326                 <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>>
     325                <!DOCTYPE html>
     326                <html <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>>
    327327                        <head>
    328328                                <title><?php _e( 'WordPress &rsaquo; Confirm your action' ); ?></title>
    329329
  • wp-admin/admin-header.php

     
    3131wp_menu_unfold();
    3232
    3333?>
    34 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    35 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     34<!DOCTYPE html>
     35<html <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    3636<head>
    3737<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    3838<title><?php echo $admin_title; ?></title>
  • wp-admin/upgrade.php

     
    4242
    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">
    46 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     45<!DOCTYPE html>
     46<html <?php language_attributes(); ?>>
    4747<head>
    4848        <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
    4949        <title><?php _e( 'WordPress &rsaquo; Update' ); ?></title>
  • wp-admin/press-this.php

     
    320320}
    321321
    322322?>
    323 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    324 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     323<!DOCTYPE html>
     324<html <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    325325<head>
    326326        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    327327        <title><?php _e('Press This') ?></title>
  • wp-admin/setup-config.php

     
    8080function display_header() {
    8181        header( 'Content-Type: text/html; charset=utf-8' );
    8282?>
    83 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    84 <html xmlns="http://www.w3.org/1999/xhtml">
     83<!DOCTYPE html>
     84<html>
    8585<head>
    8686<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    8787<title>WordPress &rsaquo; Setup Configuration File</title>
  • wp-admin/install.php

     
    99// Sanity check.
    1010if ( false ) {
    1111?>
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    13 <html xmlns="http://www.w3.org/1999/xhtml" >
     12<!DOCTYPE html>
     13<html>
    1414<head>
    1515        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    1616        <title>Error: PHP is not running</title>
     
    5353function display_header() {
    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">
    57 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     56<!DOCTYPE html>
     57<html <?php language_attributes(); ?>>
    5858<head>
    5959        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    6060        <title><?php _e( 'WordPress &rsaquo; Installation' ); ?></title>
  • wp-admin/maint/repair.php

     
    66
    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">
    10 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     9<!DOCTYPE html>
     10<html <?php language_attributes(); ?>>
    1111<head>
    1212        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    1313        <title><?php _e('WordPress &rsaquo; Database Repair'); ?></title>