[wp-trac] [WordPress Trac] #29723: Media: extract attachment-preview logic from attachment-details-two-column template

WordPress Trac noreply at wordpress.org
Wed Oct 1 20:21:59 UTC 2014


#29723: Media: extract attachment-preview logic from attachment-details-two-column
template
------------------------------+-------------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.1
Component:  Media             |     Version:  4.0
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  javascript
------------------------------+-------------------------

Comment (by celloexpressions):

 Replying to [comment:2 wonderboymusic]:
 > I think it might be better to make a PHP function that outputs that
 clump of JS in multiple places
 That would definitely work for what we need in the Customizer. Where
 should that live? I have a feeling that we might be able to leverage this
 in other places in the future as well.

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


More information about the wp-trac mailing list