Browser displayed improperly When RAINDROPS_USE_AUTO_COLOR value false
Quick Fix
functions.php line:1362
Step:1
1 2 3 4 5 6 7 8 9 10 |
function raindrops_embed_meta($content){ global $post; $result = ""; $css = raindrops_embed_css(); $result_indv = ''; if ( is_single() || is_page() ){ if(RAINDROPS_USE_AUTO_COLOR !== true){ $css = ''; } |
change below
1 2 3 4 5 6 7 8 9 10 11 12 |
function raindrops_embed_meta($content){ global $post; $result = ""; $css = raindrops_embed_css(); $result_indv = ''; if(RAINDROPS_USE_AUTO_COLOR !== true){ $css = ''; } if ( is_single() || is_page() ){ $css_single = get_post_meta($post->ID, 'css', true); |
Step:2
functions.php line:1395
1 2 3 4 5 6 |
}else{ if(RAINDROPS_USE_AUTO_COLOR == true){ $result .= '<style type="text/css">'; $result .= "\n<!--/*<![CDATA[*/\n"; $result .= $css; } |
change below
1 2 3 |
$result .= '<style type="text/css">'; $result .= "\n<!--/*<![CDATA[*/\n"; $result .= $css; |
remove if{ and }.
RAINDROPS_USE_AUTO_COLORの設定を、falseにした時に、スタイル要素が適切に付加されなくなり、スタイルルールが、ディスプレイに表示されるバグがありましたので、上記の改修方法をお試しください。
なを、RAINDROPS_USE_AUTO_COLORは、trueにセットされておりますので、通常の利用状態では、エラー表示になる事はありません。
このバグは、ver0.996で修正予定です。