Ticket #32096: 32096.diff
| File 32096.diff, 531 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/template.php
136 136 $templates = array(); 137 137 138 138 if ( $author instanceof WP_User ) { 139 $templates[] = "author-{$author->user_nicename}.php"; 139 if ( $author->user_nicename != 'bio' ) { 140 $templates[] = "author-{$author->user_nicename}.php"; 141 } 140 142 $templates[] = "author-{$author->ID}.php"; 141 143 } 142 144 $templates[] = 'author.php';