WordPress.org

Ready to get started?Download WordPress

Forums

Sundance
Deprecated functions in function.php and custom-header.php (2 posts)

  1. truptig
    Member
    Posted 6 months ago #

    I received notice for using deprecated function add_custom_background() in function.php and add_custom_image_header() in custom-header.php

    To fix the issue, please replace
    add_custom_background() with add_theme_support( 'custom-background')
    and
    add_custom_image_header( 'sundance_header_style', 'sundance_admin_header_style', 'sundance_admin_header_image' );
    with
    add_theme_support( 'custom-header', array('sundance_header_style', 'sundance_admin_header_style', 'sundance_admin_header_image'));

    Can you add this is the next version.

  2. Hi there - thanks for letting us know, we're aware of the issue and plan to push out a fix. In the meantime, feel free to use the downloadable version from here, which includes this fix:

    http://public-api.wordpress.com/rest/v1/themes/download/sundance.zip

Reply

You must log in to post.

About this Theme

About this Topic