WordPress.org

Make WordPress Core

Ticket #32096: 32096.diff

File 32096.diff, 531 bytes (added by rclations, 5 years ago)
  • src/wp-includes/template.php

     
    136136        $templates = array();
    137137
    138138        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                }
    140142                $templates[] = "author-{$author->ID}.php";
    141143        }
    142144        $templates[] = 'author.php';