The original change was since found to have caused problems, with author archives showing the wrong bio (and title/avatar) or a missing bio.
The fix_author_page() is hooked to both the_post() (which makes sense), but also posts_selection, which makes less sense. A deeper understanding of what the intent of this function was meant to be is needed before further changes can be made to it.
Reverts Automattic/Co-Authors-Plus#926
The original change was since found to have caused problems, with author archives showing the wrong bio (and title/avatar) or a missing bio.
The
fix_author_page()
is hooked to boththe_post()
(which makes sense), but alsoposts_selection
, which makes less sense. A deeper understanding of what the intent of this function was meant to be is needed before further changes can be made to it.