[wp-trac] [WordPress Trac] #54824: Hide "view" link from Media Library List Mode if empty string passed to attachment_link

WordPress Trac noreply at wordpress.org
Sun Feb 5 17:00:10 UTC 2023


#54824: Hide "view" link from Media Library List Mode if empty string passed to
attachment_link
------------------------------+----------------------------
 Reporter:  oh_hello          |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Media             |     Version:  5.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility
------------------------------+----------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 This was closed in r55218, but didn't get auto-closed.

 {{{
 Media: Hide 'view' link if empty string passed to attachment_link.

 Fix empty href attribute on 'View' link when the attachment_link filter is
 used to hide attachment pages.

 Props oh_hello, iqbalrony.
 Fixes #54824.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54824#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list