Make WordPress Core


Ignore:
Timestamp:
05/21/2007 10:50:32 PM (19 years ago)
Author:
rob1n
Message:

Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/functions.php

    r5500 r5507  
    13181318        global $wp_locale;
    13191319
    1320         if ( is_wp_error( $message ) ) {
     1320        if ( function_exists( 'is_wp_error' ) && is_wp_error( $message ) ) {
    13211321                if ( empty($title) ) {
    13221322                        $error_data = $message->get_error_data();
Note: See TracChangeset for help on using the changeset viewer.