[wp-trac] [WordPress Trac] #30280: Clearing color in customizer not working
WordPress Trac
noreply at wordpress.org
Thu Nov 6 22:27:05 UTC 2014
#30280: Clearing color in customizer not working
--------------------------+-----------------------------
Reporter: sidati | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
HI,
When i set a color using color picker for background for example, it work,
but if i clear the color using "clear" button or by deleting the color
value the customizer keep the last color or get the default color where i
want it to be transparent and because there's no HEX code for
transparency, making a background transparent became impossible.
I believe the problem is in :
{{{
Wp-includes/class-wp-customize-setting.php - line 440
}}}
When the value is "null", the multidimensional_replace() function return
the original value which is the default value or the last value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30280>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list