[wp-trac] [WordPress Trac] #19910: Appearance Improvements: Theme Customization Frame

WordPress Trac wp-trac at lists.automattic.com
Fri May 25 20:50:08 UTC 2012


#19910: Appearance Improvements: Theme Customization Frame
-------------------------------------+--------------------------
 Reporter:  koopersmith              |       Owner:  koopersmith
     Type:  task (blessed)           |      Status:  closed
 Priority:  normal                   |   Milestone:  3.4
Component:  Appearance               |     Version:  3.3.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  dev-feedback needs-docs  |
-------------------------------------+--------------------------

Comment (by azaozz):

 Replying to Otto42:
 > A refresh is very slow by comparison to using postMessage to make
 instant changes...
 > Also, as far as I know, your steps two and three there don't happen
 anywhere...

 That's another point: doing "instant" refresh bypasses the possibility to
 run any PHP hooks and callbacks that may be needed. I know we don't
 currently filter "background-color" for example but a plugin or theme may
 decide to filter it. Currently that's not possible to show in the preview.

 Regarding speed: right, postMessage is faster than "full" refresh of the
 preview, however this has it's drawbacks (no IE < 10 when cross-domain,
 i.e. on most multisite installs current IE won't work). Also speed is
 somewhat relative, it's "nice to have" but shouldn't prevent running hooks
 on the user settings.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19910#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list