# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
1492 | 1492 | if ( false === did_action( 'wp_loaded', '_custom_header_background_just_in_time' ) ) |
1493 | 1493 | break; |
1494 | 1494 | $support = get_theme_support( 'custom-header' ); |
1495 | | if ( $support[0]['wp-head-callback'] ) |
| 1495 | if ( isset( $support[0]['wp-head-callback'] ) ) |
1496 | 1496 | remove_action( 'wp_head', $support[0]['wp-head-callback'] ); |
1497 | 1497 | remove_action( 'admin_menu', array( $GLOBALS['custom_image_header'], 'init' ) ); |
1498 | 1498 | unset( $GLOBALS['custom_image_header'] ); |
… |
… |
|
1502 | 1502 | if ( false === did_action( 'wp_loaded', '_custom_header_background_just_in_time' ) ) |
1503 | 1503 | break; |
1504 | 1504 | $support = get_theme_support( 'custom-background' ); |
| 1505 | if ( isset( $support[0]['wp-head-callback'] ) ) |
| 1506 | remove_action( 'wp_head', $support[0]['wp-head-callback'] ); |
1505 | 1507 | remove_action( 'admin_menu', array( $GLOBALS['custom_background'], 'init' ) ); |
1506 | 1508 | unset( $GLOBALS['custom_background'] ); |