Make WordPress Core

Opened 20 months ago

Last modified 20 months ago

#57634 new defect (bug)

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

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

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.


20 months ago
#1

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