From 0d281aa6325ed54b402f778b1f1200a35653f1b6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 28 Mar 2007 18:10:03 +0000 Subject: [PATCH] Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042 git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 2db06e1985..e86e6382f1 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1346,7 +1346,8 @@ function wp_die( $message, $title = '' ) { <?php echo $title ?> -text_direction) ) : ?> +text_direction) ) : ?>