[wp-trac] [WordPress Trac] #48325: Additional filter in media-template.php. Let developers to hide attachment page link.

WordPress Trac noreply at wordpress.org
Tue Oct 20 02:27:54 UTC 2020


#48325: Additional filter in media-template.php. Let developers to hide attachment
page link.
------------------------------+---------------------------------
 Reporter:  limera1n          |       Owner:  garrett-eclipse
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.6
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  ui, administration
------------------------------+---------------------------------
Changes (by antpb):

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


Comment:

 In [changeset:"49222" 49222]:
 {{{
 #!CommitTicketReference repository="" revision="49222"
 Media: Allow hiding of ‘View attachment page’ link in media modal.
 If an empty string is supplied to the `attachment_link` filter the ‘View
 attachment page’ link will be hidden in the media modal.
 Props limera1n, garrett-eclipse, joemcgill, Mista-Flo, hellofromTonya.
 Fixes #48325.
 }}}

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


More information about the wp-trac mailing list