Ticket #18859: 18859.4.patch
File 18859.4.patch, 491 bytes (added by , 11 years ago) |
---|
-
wp-includes/template.php
290 290 291 291 $templates = array(); 292 292 293 if ( $object ) 293 if ( $object ){ 294 $templates[] = "single-{$object->post_type}-{$object->post_name}.php"; 294 295 $templates[] = "single-{$object->post_type}.php"; 296 } 295 297 $templates[] = "single.php"; 296 298 297 299 return get_query_template( 'single', $templates );