Make WordPress Core

Ticket #57020: 57020.patch

File 57020.patch, 730 bytes (added by krunal265, 2 years ago)

patch added.

  • src/wp-content/themes/twentyeleven/functions.php

    diff --git a/src/wp-content/themes/twentyeleven/functions.php b/src/wp-content/themes/twentyeleven/functions.php
    index fffa55c966..7ed66a0eb7 100644
    a b if ( ! function_exists( 'twentyeleven_setup' ) ) : 
    213213                        define( 'HEADER_IMAGE_WIDTH', $custom_header_support['width'] );
    214214                        define( 'HEADER_IMAGE_HEIGHT', $custom_header_support['height'] );
    215215                        add_custom_image_header( $custom_header_support['wp-head-callback'], $custom_header_support['admin-head-callback'], $custom_header_support['admin-preview-callback'] );
    216                         add_custom_background();
     216                        add_theme_support( 'custom-background' );
    217217                }
    218218
    219219                /*