diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-22 13:18:32 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-22 13:18:32 +0000 |
commit | 5776762bbd3841c2e90782cdaea848f032929009 (patch) | |
tree | 61e80ca4413bb331a4c95c2c5e0c3590eca9226e /wp-includes/functions.php | |
parent | 1baf0ee59faa48a1febb8131ced3348ab14c2ce8 (diff) | |
download | wordpress-mu-5776762bbd3841c2e90782cdaea848f032929009.tar.gz wordpress-mu-5776762bbd3841c2e90782cdaea848f032929009.tar.xz wordpress-mu-5776762bbd3841c2e90782cdaea848f032929009.zip |
WP Merge 5509
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@976 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r-- | wp-includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 97b9915..1d2edc1 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1348,7 +1348,7 @@ function wp_nonce_ays($action) { function wp_die( $message, $title = '' ) { global $wp_locale; - if ( is_wp_error( $message ) ) { + if ( function_exists( 'is_wp_error' ) && is_wp_error( $message ) ) { if ( empty($title) ) { $error_data = $message->get_error_data(); if ( is_array($error_data) && isset($error_data['title']) ) |