Make WordPress Core

Ticket #25956: 25956.diff

File 25956.diff, 2.0 KB (added by johnbillion, 11 years ago)
  • wp-includes/functions.php

    diff --git wp-includes/functions.php wp-includes/functions.php
    index 7d931bc..07f04bf 100644
    function _default_wp_die_handler( $message, $title = '', $args = array() ) { 
    21752175-->
    21762176<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'"; ?>>
    21772177<head>
     2178        <meta name="viewport" content="width=device-width" />
    21782179        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    21792180        <title><?php echo $title ?></title>
    21802181        <style type="text/css">
    21812182                html {
    2182                         background: #f9f9f9;
     2183                        background: #eee;
     2184                        margin: 0 20px;
    21832185                }
    21842186                body {
    21852187                        background: #fff;
    2186                         color: #333;
    2187                         font-family: sans-serif;
    2188                         margin: 2em auto;
    2189                         padding: 1em 2em;
    2190                         -webkit-border-radius: 3px;
    2191                         border-radius: 3px;
    2192                         border: 1px solid #dfdfdf;
     2188                        color: #555;
     2189                        font-family: 'Open Sans', sans-serif;
     2190                        margin: 50px auto;
     2191                        padding: 10px 20px;
     2192                        border: 1px solid #dedede;
     2193                        -webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
     2194                        box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
    21932195                        max-width: 700px;
     2196                        -webkit-font-smoothing: subpixel-antialiased;
     2197                }
     2198                @media only screen and (max-width: 799px) {
     2199                        body {
     2200                                margin: 20px auto;
     2201                        }
    21942202                }
    21952203                h1 {
    2196                         border-bottom: 1px solid #dadada;
     2204                        border-bottom: 1px solid #dedede;
    21972205                        clear: both;
    21982206                        color: #666;
    2199                         font: 24px Georgia, "Times New Roman", Times, serif;
    2200                         margin: 30px 0 0 0;
     2207                        font-size: 24px;
     2208                        margin: 30px 0;
    22012209                        padding: 0;
    22022210                        padding-bottom: 7px;
    22032211                }
    2204                 #error-page {
    2205                         margin-top: 50px;
    2206                 }
    22072212                #error-page p {
    22082213                        font-size: 14px;
    22092214                        line-height: 1.5;
    function _default_wp_die_handler( $message, $title = '', $args = array() ) { 
    22172222                        font-size: 14px ;
    22182223                }
    22192224                a {
    2220                         color: #21759B;
     2225                        color: #0074a2;
    22212226                        text-decoration: none;
    22222227                }
    22232228                a:hover {
    2224                         color: #D54E21;
     2229                        color: #2ea2cc;
    22252230                }
    22262231                .button {
    22272232                        display: inline-block;