Make WordPress Core

Ticket #3231: function_exists_language_attributes_in_wp_die.diff

File function_exists_language_attributes_in_wp_die.diff, 659 bytes (added by alanjcastonguay, 20 years ago)

diff to add function_exists test

  • wp-includes/functions.php

     
    11091109
    11101110?>
    11111111<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    1112 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     1112<html xmlns="http://www.w3.org/1999/xhtml" <?php if( function_exists('language_attributes')) language_attributes(); ?>>
    11131113<head>
    11141114        <title><?php echo $title ?></title>
    11151115        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />