[wp-trac] [WordPress Trac] #31139: Allow editing of video embed parameters in the media modal

WordPress Trac noreply at wordpress.org
Thu Apr 30 21:39:55 UTC 2015


#31139: Allow editing of video embed parameters in the media modal
-------------------------+-----------------------------
 Reporter:  melchoyce    |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"32330"]:
 {{{
 #!CommitTicketReference repository="" revision="32330"
 After [32258], restore the parts of [31620] and [31626] that weren't
 changes to the UI, but were improvements to existing code.

 * Use `wp.shortcode()` instead of manually constructing a shortcode in
 `views/embed/link`
 * In `WP_Embed`, store the last URL and last set of attributes requested
 in class properties
 * `wp_ajax_parse_embed()`, allow `[embed]`s to have attributes. Return
 `attr` in the response.

 See #31139.
 }}}

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


More information about the wp-trac mailing list