diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-content/themes/twentytwelve/inc/custom-header.php --- a/wp/wp-content/themes/twentytwelve/inc/custom-header.php Tue Jun 09 11:14:17 2015 +0000 +++ b/wp/wp-content/themes/twentytwelve/inc/custom-header.php Mon Oct 14 17:39:30 2019 +0200 @@ -13,7 +13,7 @@ * Set up the WordPress core custom header arguments and settings. * * @uses add_theme_support() to register support for 3.4 and up. - * @uses twentytwelve_header_style() to style front-end. + * @uses twentytwelve_header_style() to style front end. * @uses twentytwelve_admin_header_style() to style wp-admin form. * @uses twentytwelve_admin_header_image() to add custom markup to wp-admin form. * @@ -54,8 +54,9 @@ */ function twentytwelve_custom_header_fonts() { $font_url = twentytwelve_get_font_url(); - if ( ! empty( $font_url ) ) + if ( ! empty( $font_url ) ) { wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); + } } add_action( 'admin_print_styles-appearance_page_custom-header', 'twentytwelve_custom_header_fonts' ); @@ -70,24 +71,25 @@ $text_color = get_header_textcolor(); // If no custom options for text are set, let's bail - if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) + if ( $text_color == get_theme_support( 'custom-header', 'default-text-color' ) ) { return; + } // If we get this far, we have custom styles. ?>