[wp-trac] [WordPress Trac] #57020: Twenty Eleven Theme: The deprecated function has been used in the twenty-eleven theme.

WordPress Trac noreply at wordpress.org
Mon Nov 7 13:42:06 UTC 2022


#57020: Twenty Eleven Theme: The deprecated function has been used in the twenty-
eleven theme.
--------------------------+-----------------------------
 Reporter:  krunal265     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The deprecated function has been used in the functions.php file of
 twentyeleven theme.
 1) **add_custom_background()**
 2) **add_custom_image_header()**

 We need to use the add_theme_support() function instead of that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57020>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list