WordPress.org

Make WordPress Core

Ticket #18859: 18859.3.patch

File 18859.3.patch, 401 bytes (added by SergeyBiryukov, 6 years ago)

Relative path, proper formatting

  • wp-includes/template.php

     
    280280
    281281        $templates = array();
    282282
     283        $templates[] = "single-{$object->post_type}-{$object->post_name}.php";
    283284        $templates[] = "single-{$object->post_type}.php";
    284285        $templates[] = "single.php";
    285286