[wp-trac] [WordPress Trac] #37202: the_archive_title() doesn't output the author's display name if that author hasn't posted

WordPress Trac noreply at wordpress.org
Tue Jun 10 08:09:28 UTC 2025


#37202: the_archive_title() doesn't output the author's display name if that author
hasn't posted
-----------------------------------------+-----------------------
 Reporter:  henry.wright                 |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:
Component:  Users                        |     Version:  4.5.3
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  template
-----------------------------------------+-----------------------
Changes (by ravigadhiyawp):

 * keywords:  has-patch needs-testing => has-patch reporter-feedback


Comment:

 == Reproduction Report
 === Description
 ❌ This report validates the issue is not reproduced.

 === Environment
 - WordPress: 6.8.1
 - PHP: 8.2.23
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.23)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Seventeen 3.9
 - MU Plugins: None activated
 - Plugins:
   * Advanced Custom Fields 6.4.2
   * Test Reports 1.2.0

 === Actual Results
 1.  ❌ Error condition not occurs (not reproduced).

 === Additional Notes
 - I have created one author - `devtest` as Contributor role. This author
 have not publish any post yet
 - Visit the author archive url. Ex. `https://example.com/author/devtest/`
 - I'm showing the 404 page. Because this author have not publish any post
 yet.
 - If I assign post to this author, this author archive url shows post
 list.
 - This is the expected behavior. And nothing found any issue in this.


 === Supplemental Artifacts
 Screenshot: [https://prnt.sc/dAn2MThYczam]

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


More information about the wp-trac mailing list