[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 17:36:24 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 ocean90):

 Replying to [comment:21 bradyvercher]:
 > … the compiled CSS is being saved as a theme mod to serve up to normal
 site visitors …

 Propbaly because it's a bit hidden in your patch. :)

 customizer.php:229 and color-scheme-control.js:50-77 are the relevant
 parts for the theme mod.

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


More information about the wp-trac mailing list