Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#57634 new defect (bug)

Hide "view" link from Post List Table if empty string passed to post_link

Reported by: uzumymw Owned by:
Priority: normal Milestone: Awaiting Review
Component: Posts, Post Types Version: 1.5
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

As in 54824 also in Post List Tables an empty string passed to post_link should hide "view" link.

Actually link is just empty:

<span class="view"><a href="" rel="bookmark" aria-label="View “Test”">View</a></span>

In my opinion "view" link should be removed if permalink is empty.

Change History (1)

This ticket was mentioned in ​PR #3991 on ​WordPress/wordpress-develop by ​@uzumymw.


4 years ago
#1

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.