[wp-trac] [WordPress Trac] #27389: MCE Views for Audio/Video

WordPress Trac noreply at wordpress.org
Fri Mar 14 12:59:29 UTC 2014


#27389: MCE Views for Audio/Video
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 In [changeset:"27536"]:
 {{{
 #!CommitTicketReference repository="" revision="27536"
 In `media.model.PostMedia`, for these 2 scenarios:

 * `src` is set, and 'Add a Source' results in the same file (or a file
 with the same extension) being added
 * `src` is set, and 'Replace Audio|Video' is used, which will add a model
 property named by the attachment's extension

 ... call `model.unset( 'src' )`.

 See #27389.
 }}}

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


More information about the wp-trac mailing list