[wp-trac] [WordPress Trac] #28687: Removing background image and/or reverting background color to default doesn't remove custom-background body class and remove theme mods
WordPress Trac
noreply at wordpress.org
Thu Mar 26 15:55:49 UTC 2015
#28687: Removing background image and/or reverting background color to default
doesn't remove custom-background body class and remove theme mods
---------------------------+-----------------------
Reporter: slobodanmanic | Owner: ocean90
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.2
Component: Themes | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+-----------------------
Changes (by ocean90):
* keywords: has-patch commit => has-patch
Comment:
Thanks @obenland. [attachment:28687.5.diff] makes sense and would be
consistent with the behaviour of `_custom_background_cb()`.
But we need to update the callback for the customize preview too:
[source:trunk/src/wp-includes/js/customize-preview.js at 31697#L139]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28687#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list