[wp-trac] [WordPress Trac] #27300: WP Customize Image Control doesn't show uploaded files

WordPress Trac noreply at wordpress.org
Thu Mar 6 17:14:57 UTC 2014


#27300: WP Customize Image Control doesn't show uploaded files
-------------------------+-----------------------------
 Reporter:  alexdelgado  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Appearance   |    Version:  3.8.1
 Severity:  normal       |   Keywords:
  Focuses:  ui           |
-------------------------+-----------------------------
 When you are creating a new WP_Customize_Image_Control the images that you
 upload do not display in the 'uploaded' tab after you refresh the page.

 I found a gist that solves this problem which is two fold:

 1. The documentation for WP_Customize_Image_Control didn't have the
 "context" argument listed so there's no way of knowing that one should be
 set. (updated documentation)

 2. The "tab_uploaded" function for WP_Customize_Image_Control only
 displays the uploaded tab, but does nothing to actually get the contents.

 The gist with the code that works is:
 https://gist.github.com/eduardozulian/4739075/

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


More information about the wp-trac mailing list