[wp-trac] [WordPress Trac] #20507: 3.4 Preview/Customize page "Return to Manage Themes" link doesn't work as expected
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 30 15:46:19 UTC 2012
#20507: 3.4 Preview/Customize page "Return to Manage Themes" link doesn't work as
expected
--------------------------+--------------------------
Reporter: TomAuger | Owner: koopersmith
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.4
Component: Appearance | Version: 3.4
Severity: blocker | 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/20507#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list