Ticket #38625: 38625.diff
File 38625.diff, 575 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/template.php
418 418 if ( $pagename_decoded !== $pagename ) { 419 419 $templates[] = "page-{$pagename_decoded}.php"; 420 420 } 421 $templates[] = "page- $pagename.php";421 $templates[] = "page-{$pagename}.php"; 422 422 } 423 423 if ( $id ) 424 $templates[] = "page- $id.php";424 $templates[] = "page-{$id}.php"; 425 425 $templates[] = 'page.php'; 426 426 427 427 return get_query_template( 'page', $templates );