Changes between Initial Version and Version 2 of Ticket #19449
- Timestamp:
- 08/21/2013 07:51:21 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19449
- Property Keywords 2nd-opinion removed
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
wontfix
-
Property
Milestone
changed from
Awaiting Review
to
-
Ticket #19449 – Description
initial v2 4 4 5 5 Old: 6 {{{ 6 7 if (this.value && this.value != fb.color) { 8 }}} 7 9 8 10 New: 11 {{{ 9 12 if (this.value != fb.color) { 10 13 }}} 11 14 12 15 Looks like WP is working around this for the 'custom background' for themes (which is empty by default) by adding a hardcoded '#' and saving the background-color without '#' 13 16 14 17 /wp-includes/theme.php, line 1772: 18 {{{ 15 19 $style = $color ? "background-color: #$color;" : ''; 20 }}} 16 21 17 22 /wp-admin/custom-background.php, line 303: 23 {{{ 18 24 <input type="text" name="background-color" id="background-color" value="#<?php echo esc_attr(get_background_color()) ?>" /> 19 25 }}}