Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#27300 closed enhancement (invalid)

WP Customize Image Control doesn't show uploaded files

Reported by: alexdelgado's profile alexdelgado Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8.1
Component: Customize Keywords:
Focuses: ui Cc:


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)
  1. 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:

Change History (1)

#1 @celloexpressions
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the report, and sorry you never got a reply!

In 4.1 the media controls were rewritten to leverage the media library, and previously-uploaded images are no longer shown as a result. So this issue no longer applies, although related issues/suggestions could go in new tickets.

Note: See TracTickets for help on using tickets.