Co-Authors Plus 4.0.2
Changed
coauthors_links_single()now readsdisplay_name,website, anduser_urldirectly from the passed$authorobject rather than viaget_the_author()/get_the_author_meta(). This fixes the long-standing bug where every byline rendered as the first author's name and where guest-author websites never linked, but it does meanthe_author,the_author_meta, andauthor_metafilters no longer apply when the function is called. Plugins that previously hooked those filters to amend bylines will need to filter at a different layer by @faisalahammad in #1255
Fixed
- Stop the editor dropping the current user when a co-author term can't be resolved, and never persist a termless post on REST save by @GaryJones in #1253
- Render each guest author's own name and website on bylines emitted via
coauthors_links()/coauthors_links_single()(was duplicating the first author and dropping guest-author website links), fixing #1131 by @faisalahammad in #1255 - Extend author SQL filters to support
author__inand comma-separated author IDs by @faisalahammad in #1249 - Clear conflicting
WP_Queryflags on guest author pages to prevent PHP warnings and category-query conflicts by @faisalahammad in #1250
Maintenance
- Extract shared taxonomy clause helpers in
posts_where_filter()to deduplicate the multi-author query path by @faisalahammad in #1251 - Tear down
CoAuthors_Template_Filtersregistrations between test cases to stop them leaking into other suites by @GaryJones in #1256 - Exclude
AGENTS.mdandCONTRIBUTING.mdfrom the distribution ZIP by @GaryJones in #1246
Documentation
- Use an absolute GitHub link for the changelog URL in the README by @faisalahammad in #1247
- Correct the plugin ZIP filename in the installation guide by @faisalahammad in #1248
Full Changelog: 4.0.1...4.0.2