### Eclipse Workspace Patch 1.0
#P wordpress
Index: wp-includes/class-wp-error.php
===================================================================
--- wp-includes/class-wp-error.php	(revision 17501)
+++ wp-includes/class-wp-error.php	(working copy)
@@ -204,9 +204,7 @@
  * @return bool True, if WP_Error. False, if not WP_Error.
  */
 function is_wp_error($thing) {
-	if ( is_object($thing) && is_a($thing, 'WP_Error') )
-		return true;
-	return false;
+	return is_a($thing, 'WP_Error');
 }
 
 ?>
\ No newline at end of file
