WordPress.org

Make WordPress Core

Changeset 5129


Ignore:
Timestamp:
03/28/07 18:10:03 (7 years ago)
Author:
ryan
Message:

Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5124 r5129  
    13471347    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    13481348    <link rel="stylesheet" href="<?php echo $admin_dir; ?>install.css" type="text/css" /> 
    1349 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 
     1349<?php  
     1350if ( ( $wp_locale ) && ('rtl' == $wp_locale->text_direction) ) : ?> 
    13501351    <link rel="stylesheet" href="<?php echo $admin_dir; ?>install-rtl.css" type="text/css" /> 
    13511352<?php endif; ?> 
Note: See TracChangeset for help on using the changeset viewer.