Make WordPress Core

Ticket #35326: 35326.diff

File 35326.diff, 441 bytes (added by jorbin, 10 months ago)
  • src/wp-includes/template.php

    diff --git a/src/wp-includes/template.php b/src/wp-includes/template.php
    index 401df4db19..47fa140e0d 100644
    a b function get_taxonomy_template() { 
    357357                }
    358358
    359359                $templates[] = "taxonomy-$taxonomy-{$term->slug}.php";
     360                $templates[] = "taxonomy-$taxonomy-{$term->term_id}.php";
    360361                $templates[] = "taxonomy-$taxonomy.php";
    361362        }
    362363        $templates[] = 'taxonomy.php';