Skip to content

Commit

Permalink
fixes undefined index on line 855 in functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jan 12, 2015
1 parent 2de60d6 commit 184b3f1
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 @@ -852,7 +852,7 @@ function ap_core_custom_styles() {
}

$output .= '</style>';
if ( $heading || $body || $alt || $link || $hover || $options['site-title'] == false ) {
if ( $heading || $body || $alt || $link || $hover || isset( $options['site-title'] ) && $options['site-title'] == false ) {
echo wp_kses( $output, array( 'style' => array( 'type' => array(), 'media' => array() ) ) );
}
}
Expand Down

0 comments on commit 184b3f1

Please sign in to comment.