Skip to content

Commit

Permalink
fixes undefined index on line 822 in functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jan 12, 2015
1 parent c4edb70 commit 2de60d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ function ap_core_custom_styles() {
$link = sanitize_text_field($options['link']);
$output_link = "a, a:link, a:visited { color: $link; -webkit-transition: all 0.3s ease!important; -moz-transition: all 0.3s ease!important; -o-transition: all 0.3s ease!important; transition: all 0.3s ease!important; }";
}
if ( isset( $options['hover'] ) && $options['hover'] != $defaults['hover'] || $options['link'] ) {
if ( isset( $options['hover'] ) && $options['hover'] !== $defaults['hover'] || isset( $options['link'] ) ) {
$hover = sanitize_text_field($options['hover']);
$output_hover = "a:hover, a:active { color: $hover; -webkit-transition: all 0.3s ease!important; -moz-transition: all 0.3s ease!important; -o-transition: all 0.3s ease!important; transition: all 0.3s ease!important; }";
}
Expand Down

0 comments on commit 2de60d6

Please sign in to comment.