Permalink
Browse files

Merge branch '1.5' of https://github.com/justintadlock/hybrid-core in…

…to 1.5
  • Loading branch information...
2 parents 11c010b + db1b6dd commit 99990ab7dc2af1266151c591dcbd2d730db7ba82 @dronix committed Dec 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/random-custom-background.php
@@ -126,7 +126,7 @@ public function __construct() {
$supports = get_theme_support( 'custom-background' );
/* If '__return_false' is the wp_head callback, roll our own. */
- if ( '__return_false' == $supports[0]['wp-head-callback'] )
+ if ( isset( $supports[0]['wp-head-callback'] ) && '__return_false' == $supports[0]['wp-head-callback'] )
add_action( 'wp_head', array( &$this, 'custom_background_callback' ) );
}

0 comments on commit 99990ab

Please sign in to comment.