[wp-trac] [WordPress Trac] #29988: Twenty Fifteen: Use JS/postMessage to update the color scheme instead of triggering a page refresh

WordPress Trac noreply at wordpress.org
Thu Nov 6 08:06:22 UTC 2014


#29988: Twenty Fifteen: Use JS/postMessage to update the color scheme instead of
triggering a page refresh
------------------------------------+-----------------------------
 Reporter:  avryl                   |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Bundled Theme           |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+-----------------------------

Comment (by celloexpressions):

 I'm generally a big fan of using underscore template for stuff like this
 as well. Core has a new API for rendering Customizer controls from
 templates - I wonder if it would be worth doing something similar for
 setting handling. I could imagine it working similarly, and ideally could
 all be defined within the PHP file where you add settings (likely as a
 callback).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29988#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list