[wp-trac] [WordPress Trac] #30409: Twenty Fifteen: HTML characters in the color scheme CSS are escaped.

WordPress Trac noreply at wordpress.org
Sat Dec 13 14:26:07 UTC 2014


#30409: Twenty Fifteen: HTML characters in the color scheme CSS are escaped.
-------------------------------------+--------------------------
 Reporter:  iamtakashi               |       Owner:  iandstewart
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.1
Component:  Bundled Theme            |     Version:  trunk
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by ocean90):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 [attachment:30409.4.diff] and [attachment:30409.5.diff] are based on
 [attachment:30409.2.diff].

 In .4 the CSS generation is still done in the control and then send to the
 Previewer. Sending an event to the preview is easy (see #27666/[29048]),
 capturing the event not because the preview is still private. The patch
 will change this, otherwise we have to do something like [source:trunk/src
 /wp-includes/js/customize-preview-widgets.js at 29051#L107].

 In .5 I moved the CSS generation to the preview. Since the script depends
 on Iris we have to move Iris out of `is_admin()`.

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


More information about the wp-trac mailing list