[wp-trac] [WordPress Trac] #32096: TwentyFifteen author-bio.php clashes with author bio
WordPress Trac
noreply at wordpress.org
Fri Apr 24 04:21:38 UTC 2015
#32096: TwentyFifteen author-bio.php clashes with author bio
--------------------------+-----------------------------
Reporter: lordlod | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The TwentyFifteen theme uses the file author-bio.php as a partial to
display author information.
However this clashes with the template hierarchy magic
author-$nicename.php
This problem manifests by creating a user with the username "bio"
Then accessing their author page ?author=$id
Instead of the expected author page the raw partial is shown.
I believe a fix requires renaming author-bio.php possibly to partial-
author_bio.php
References in content.php and content-link.php also would need to be
updated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32096>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list