[wp-trac] [WordPress Trac] #44183: BUG in get_the_archive_title() when get author

WordPress Trac noreply at wordpress.org
Thu Dec 3 20:32:21 UTC 2020


#44183: BUG in get_the_archive_title() when get author
-------------------------------------+--------------------------
 Reporter:  Tkama                    |       Owner:  johnbillion
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  5.7
Component:  Query                    |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch => has-patch needs-refresh
 * owner:  (none) => johnbillion
 * status:  new => reviewing
 * component:  Users => Query
 * milestone:  Awaiting Review => 5.7


Comment:

 Thanks for reporting the issue @Tkama . Sorry it's taken so long.

 Thanks for the patch @subrataemfluence . There's no need for the
 `$authordata` value to be conditional, it should always be fetched from
 the queried object instead of the first post in the query result.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44183#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list