diff --git a/src/wp-includes/template.php b/src/wp-includes/template.php
index 401df4db19..47fa140e0d 100644
--- a/src/wp-includes/template.php
+++ b/src/wp-includes/template.php
@@ -357,6 +357,7 @@ function get_taxonomy_template() {
 		}
 
 		$templates[] = "taxonomy-$taxonomy-{$term->slug}.php";
+		$templates[] = "taxonomy-$taxonomy-{$term->term_id}.php";
 		$templates[] = "taxonomy-$taxonomy.php";
 	}
 	$templates[] = 'taxonomy.php';
