[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:52:53 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 aaroncampbell):
The patch works good, the only thing is that it seems like specifying a
color (even a default one) should result in the CSS output. If you CLEAR
the color out and save, then I would expect the CSS to go away. I'd
recommend changing the `set_theme_mod('background_color', '');` to
`remove_theme_mod( 'background_color' );` but not checking for the default
color first (just stick to the length checks).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22030#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list