[wp-trac] [WordPress Trac] #19910: Appearance Improvements: Theme Customization Frame
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 15 04:14:08 UTC 2012
#19910: Appearance Improvements: Theme Customization Frame
----------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.4
Component: Themes | Version: 3.3.1
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------------
Comment (by koopersmith):
In [20179]:
{{{
#!CommitTicketReference repository="" revision="20179"
Theme Customizer: First pass for upload controls, using background image
as an example. Add a wrapper for Plupload that allows for custom upload
UIs. see #19910.
wp.Uploader is a wrapper that provides a simple way to upload an
attachment (using the wp_ajax_upload_attachment handler). It is
intentionally decoupled from the UI. When an upload succeeds, it will
receive the attachment information (id, url, meta, etc) as a JSON
response. If the upload fails, the wrapper handles both WordPress and
plupload errors through a single handler.
As todos, we should add drag classes for the uploader dropzone and account
for the rough 100mb filesize limit in most browsers. The UI for the
customizer upload controls could be improved as well.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19910#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list