WordPress.org

Make WordPress Core

Ticket #16994: 16994.patch

File 16994.patch, 429 bytes (added by johnbillion, 3 years ago)
  • wp-includes/theme.php

     
    745745        if ( empty( $templates ) ) 
    746746                $templates = array("{$type}.php"); 
    747747 
     748        $templates = apply_filters( 'query_templates', $templates, $type ); 
     749 
    748750        return apply_filters( "{$type}_template", locate_template( $templates ) ); 
    749751} 
    750752