WordPress.org

Make WordPress Core

Changeset 20265


Ignore:
Timestamp:
03/22/2012 07:31:03 PM (6 years ago)
Author:
ryan
Message:

s/background/header/ in add_custom_image_header() deprecated function. see #20249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r20246 r20265  
    30043004    if ( $admin_preview_callback )
    30053005        $args['admin-preview-callback'] = $admin_preview_callback;
    3006     return add_theme_support( 'custom-background', $args );
     3006    return add_theme_support( 'custom-header', $args );
    30073007}
    30083008
Note: See TracChangeset for help on using the changeset viewer.