Changeset 34348 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 09/20/2015 03:51:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r34234 r34348 2994 2994 public function bail( $message, $error_code = '500' ) { 2995 2995 if ( !$this->show_errors ) { 2996 if ( class_exists( 'WP_Error' ) )2996 if ( class_exists( 'WP_Error', false ) ) { 2997 2997 $this->error = new WP_Error($error_code, $message); 2998 else2998 } else { 2999 2999 $this->error = $message; 3000 } 3000 3001 return false; 3001 3002 }
Note: See TracChangeset
for help on using the changeset viewer.