Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter asiccan

    (@asiccan)

    Below is a snippet of the code. Line 1401 is the one that (I hope) shows in bold. I’ve copied it out here as well:
    require_once( ABSPATH . ‘wp-admin/custom-header.php’ );

    * Registers the internal custom header and background routines.
    *
    * @since 3.4.0
    * @access private
    */
    function _custom_header_background_just_in_time() {
    global $custom_image_header, $custom_background;

    if ( current_theme_supports( ‘custom-header’ ) ) {
    // In case any constants were defined after an add_custom_image_header() call, re-run.
    add_theme_support( ‘custom-header’, array( ‘__jit’ => true ) );

    $args = get_theme_support( ‘custom-header’ );
    if ( $args[0][‘wp-head-callback’] )
    add_action( ‘wp_head’, $args[0][‘wp-head-callback’] );

    if ( is_admin() ) {
    require_once( ABSPATH . ‘wp-admin/custom-header.php’ ); $custom_image_header = new Custom_Image_Header( $args[0][‘admin-head-callback’], $args[0][‘admin-preview-callback’] );
    }
    }

    Following is a link to the file in my Dropbox. You can download the whole file, in case you feel up to it. To find line 1404 you might be able to get there quickly by searching for “ABSPATH”. Sure appreciate your help in any case.
    https://www.dropbox.com/s/c53nb3ebimv5iog/theme.php

    Thanks, Tammo

    Thread Starter asiccan

    (@asiccan)

    I have found the file. Now the challenge is how to fix it :):)

    Thread Starter asiccan

    (@asiccan)

    Thanks Evan

    where can I find that file “theme.php” to fix it? Also wondering what changed that it now doesn’t work anymore.

Viewing 3 replies - 1 through 3 (of 3 total)