WordPress.org

Make WordPress Core

Ticket #11940: 11940.patch

File 11940.patch, 1017 bytes (added by UnderWordPressure, 5 years ago)
  • functions.php

     
    28592859        status_header( 500 ); 
    28602860        nocache_headers(); 
    28612861        header( 'Content-Type: text/html; charset=utf-8' ); 
    2862 ?> 
    2863 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2864 <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>> 
     2862        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     2863<html xmlns="http://www.w3.org/1999/xhtml"'.function_exists( 'language_attributes' ) ? language_attributes() : null.'> 
    28652864<head> 
    28662865<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    28672866        <title>Database Error</title> 
    2868  
    28692867</head> 
    28702868<body> 
    28712869        <h1>Error establishing a database connection</h1> 
    28722870</body> 
    28732871</html> 
    2874 <?php 
     2872'; 
    28752873        die(); 
    28762874} 
    28772875