[wp-trac] [WordPress Trac] #22030: After "clear background-color" in design options, still css is added to html-output

WordPress Trac noreply at wordpress.org
Sat Jun 29 19:50:31 UTC 2013


#22030: After "clear background-color" in design options, still css is added to
html-output
------------------------------+-----------------------
 Reporter:  Ov3rfly           |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.6
Component:  Appearance        |     Version:  3.4.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by ocean90):

 I [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2013-06-29&sort=asc#m634744 mentioned on IRC] that we would need
 the same for the Customizer.

 My idea: Save the value, but don't print the inline CSS if it's the
 default color. That's the way like we do it in
 `twentythirteen_header_style()`, `twentytwelve_header_style()` and
 `twentyeleven_header_style()`.

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


More information about the wp-trac mailing list