[wp-trac] [WordPress Trac] #62913: Prevent empty author links in list tables
WordPress Trac
noreply at wordpress.org
Mon Feb 17 19:54:32 UTC 2025
#62913: Prevent empty author links in list tables
-------------------------------------+-------------------------------------
Reporter: kkmuffme | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.8
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: accessibility,
tests | administration
-------------------------------------+-------------------------------------
Comment (by joedolson):
This is good, and I think it's generally ready to go - but if we're going
to do it for media tables, we should also extend the same logic to the
other list tables, which all have the same issue if there's no author
string returned.
It may be a rare circumstance to occur, but it certainly can occur. Given
that `get_the_author()` returns an empty string if there's no valid author
object and is filterable, the use case is reasonable in all the similar
contexts.
@snehapatil02 If you can extend your PR to cover the other list tables, I
think this will be in good shape.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62913#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list