[wp-trac] [WordPress Trac] #21836: Handle non-image attachments in new media modal

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 10 21:54:22 UTC 2012


#21836: Handle non-image attachments in new media modal
----------------------------+--------------------
 Reporter:  koopersmith     |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by koopersmith):

 In [22170]:
 {{{
 #!CommitTicketReference repository="" revision="22170"
 Correctly insert non-image attachments as links.

 * Adds `wp.media.string.link( attachment )` for printing attachment links.
 * Adds the `link` attribute to `Attachment` models that corresponds to the
 link to the attachment post.

 see #21390, #21836.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21836#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list