[wp-trac] [WordPress Trac] #21483: Theme Customizer: Use any image from media library for background image

WordPress Trac noreply at wordpress.org
Mon Oct 28 03:53:08 UTC 2013


#21483: Theme Customizer: Use any image from media library for background image
-------------------------+------------------------------
 Reporter:  jjonesftw    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Appearance   |     Version:  3.4.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by celloexpressions):

 I believe this might actually be very straightforward. Once #25618
 happens, we'd just need to adjust the WP_Upload_Image control to open the
 media modal (which has upload functionality) instead of opening the
 browser's upload functionality directly, just like we do in several places
 in core and as plugins do all over the place.

 In fact, the best solution is probably to make
 `WP_Customize_Upload_Control` open the media modal (as it provides the
 best experience for uploading and browsing files of any type; I'd say
 leave the dropzone too for quick access), then we can just make the
 necessary adjustments to `WP_Customize_Image_Control` and
 `WP_Customize_Background_Image_Control`. That way all instances and
 extensions of upload-type controls get the best experience we have.

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


More information about the wp-trac mailing list