[wp-trac] [WordPress Trac] #19910: Appearance Improvements: Theme Customization Frame
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 30 15:46:23 UTC 2012
#19910: Appearance Improvements: Theme Customization Frame
----------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.4
Component: Appearance | Version: 3.3.1
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------------
Comment (by koopersmith):
In [20645]:
{{{
#!CommitTicketReference repository="" revision="20645"
Theme Customizer: Migrate to an ajax-based solution for refreshing the
preview and saving. see #20507, #19910.
* Use ajax-based saving, add saving indicator.
* Use ajax-based refreshing instead of form targets.
* Instead of using hidden inputs with prefixed names to track the
canonical data, use the values stored in wp.customize. Encode the values
as JSON before sending to avoid bugs with ids that contain square brackets
(PHP mangles POST values with nested brackets).
* Use wp.customize.Previewer solely for the purpose of previewing; move
the postMessage connection with the parent frame and other unrelated code
snippets into the 'ready' handler.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19910#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list