Add backwards compat fix for new single-stage array

This commit is contained in:
Jay Wood
2016-09-30 14:17:53 -04:00
parent ecb81f4d3a
commit 12db99072a
3 changed files with 18 additions and 2 deletions

View File

@ -25,7 +25,7 @@ function cwv3_get_css() {
$opacity = get_option( 'cwv3_bg_opacity', '' );
$bg_image_css = ! empty( $image ) ? 'background: url( '. esc_url( $image ) . ' ) no-repeat top center;' : '';
$bg_color_css = ! empty( $color ) ? 'background-color: ' . $color['color'] . ';' : '';
$bg_color_css = ! empty( $color ) ? 'background-color: ' . $color . ';' : '';
ob_start();
?>