[wp-trac] [WordPress Trac] #62835: Remove title attributes from author link functions

WordPress Trac noreply at wordpress.org
Thu Feb 26 00:54:49 UTC 2026


#62835: Remove title attributes from author link functions
-------------------------------------------------+-------------------------
 Reporter:  sabernhardt                          |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  7.0
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  title-attribute has-patch has-unit-  |     Focuses:
  tests needs-dev-note commit                    |  accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * keywords:  title-attribute has-patch has-unit-tests needs-dev-note =>
     title-attribute has-patch has-unit-tests needs-dev-note commit


Comment:

 Tested:

 - default: `the_author_posts_link();` returns author name with no title
 attribute
 - default: `the_author_link();` returns author name with title attribute
 - `the_author_link( false )` returns the author name with no title
 attribute
 - filter works as expected, allowing you to easily replace the name with
 the title attribute or make other changes.

 Confirmed; marking for commit.

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


More information about the wp-trac mailing list