Make WordPress Core

Ticket #14310: 14310.diff

File 14310.diff, 428 bytes (added by nacin, 13 years ago)
  • wp-includes/theme.php

     
    745745        if ( empty( $templates ) )
    746746                $templates = array("{$type}.php");
    747747
    748         $templates = apply_filters( "{$type}_template_hierarchy", $templates );
    749 
    750748        return apply_filters( "{$type}_template", locate_template( $templates ) );
    751749}
    752750