[wp-trac] [WordPress Trac] #21627: Filter for custom-background CSS selector

WordPress Trac noreply at wordpress.org
Tue Jan 31 18:10:37 UTC 2017


#21627: Filter for custom-background CSS selector
-------------------------------------------------+-------------------------
 Reporter:  Horttcore                            |       Owner:
     Type:  enhancement                          |  peterwilsoncc
 Priority:  low                                  |      Status:  assigned
Component:  Customize                            |   Milestone:  4.8
 Severity:  minor                                |     Version:  3.4.1
 Keywords:  needs-testing needs-unit-tests       |  Resolution:
  needs-patch                                    |     Focuses:
-------------------------------------------------+-------------------------

Comment (by westonruter):

 Another point where [attachment:21627.2.diff] will need revising:
 `window.parent._wpCustomizeSettings.theme.bgElement` won't work reliably
 since the preview can be on another domain from the parent window, thus
 violating cross-domain security policy. So those theme settings need to be
 exported into the preview's settings instead of the pane's settings, as
 they're not needed in the pane anyway.

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


More information about the wp-trac mailing list