[wp-trac] [WordPress Trac] #32531: Media library filename based on GUID prevents embedding

WordPress Trac noreply at wordpress.org
Fri May 29 18:47:16 UTC 2015


#32531: Media library filename based on GUID prevents embedding
--------------------------+---------------------------------
 Reporter:  daxelrod      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by daxelrod):

 * keywords:   => has-patch


Comment:

 Attached patch which attacks this from
 {{{wp_prepare_attachment_for_js()}}}. Replaced {{{$attachment->guid}}}
 with {{{get_attached_file( $attachment->ID )}}}.

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


More information about the wp-trac mailing list