Index: src/wp-includes/taxonomy.php
===================================================================
--- src/wp-includes/taxonomy.php	(revision 42117)
+++ src/wp-includes/taxonomy.php	(working copy)
@@ -767,8 +767,6 @@
 
 	if ( is_wp_error( $_term ) ) {
 		return $_term;
-	} elseif ( ! $_term ) {
-		return null;
 	}
 
 	/**
@@ -796,10 +794,15 @@
 	 */
 	$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );
 
+	// If `$_term` doesn't exist by now bail with null.
+	if ( ! $_term ) {
+		return null;
+	}
+
 	// Bail if a filter callback has changed the type of the `$_term` object.
 	if ( ! ( $_term instanceof WP_Term ) ) {
 		return $_term;
-	}
+	} 
 
 	// Sanitize term, according to the specified filter.
 	$_term->filter( $filter );
