[wp-trac] [WordPress Trac] #29766: Comments listings empty author IP link
WordPress Trac
noreply at wordpress.org
Sat Sep 27 14:05:03 UTC 2014
#29766: Comments listings empty author IP link
--------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.0
Severity: normal | Keywords:
Focuses: ui |
--------------------------+-----------------------------
If, for any reason, `comment_author_IP()` returns an empty string, an
empty link will be printed in the Comments listings. When tabbing with the
keyboard, this link can be activated and it's a useless tab stop for
keyboard users.
In Firefox the empty link is clearly visible when focused, while in Chrome
it's a bit more difficult to spot, see screenshot:
[[Image(https://cldup.com/erCUaGj7cf.png)]]
Proposed patch prints the link just if `comment_author_IP` is not empty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29766>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list