[wp-trac] [WordPress Trac] #62838: Remove title attribute from shortlink
WordPress Trac
noreply at wordpress.org
Tue Jan 21 19:02:52 UTC 2025
#62838: Remove title attribute from shortlink
-------------------------------+-----------------------------
Reporter: sabernhardt | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.0
Severity: normal | Keywords: title-attribute
Focuses: accessibility |
-------------------------------+-----------------------------
Related: #24766
Since [13683], `the_shortlink()` output has included a `title` attribute.
By default, that gives the sanitized post title, and it does not sanitize
custom text. Given the low value of this attribute, it probably would be
better to remove it than to try making it more accessible.
The shortlink has very limited use in directory
[https://wpdirectory.net/search/01JJ47FW37VGHSPZJG8ZF9423K plugins] and
[https://wpdirectory.net/search/01JJ481PF1MV2YPGBHNR6Q78ZT themes].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62838>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list