[wp-trac] [WordPress Trac] #29215: WP_Customize_Media_Control

WordPress Trac noreply at wordpress.org
Thu Aug 14 18:24:43 UTC 2014


#29215: WP_Customize_Media_Control
------------------------------+----------------------------
 Reporter:  celloexpressions  |      Owner:
     Type:  feature request   |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Customize         |    Version:  3.5
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+----------------------------
 We'd like to refactor the existing `WP_Customize_Upload_Control`,
 `WP_Customize_Image_Control`, and `WP_Customize_Background_Image_Control`
 to leverage the media library (#21483). But the Customizer should also
 support inserting media (including things like Youtube videos) from a URL,
 for which "Upload" isn't the best term.

 We should introduce a `WP_Customize_Media_Control` to serve as the base
 media-related control that all of the other media image/upload controls
 extend (or, if we can't be fully back-compat, we could create new controls
 that extend this one). It should allow developers to specify either a
 media type (ie, audio, video, image, document, etc; mapping to allowed
 filetypes and embed providers) or potentially specific filetypes (like
 `WP_Customize_Upload_Control` allows now).

 Ultimately, the purpose of this control will be to bring the full power of
 the media manager into the Customizer.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29215>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list