Make WordPress Core


Ignore:
Timestamp:
03/21/2012 03:36:17 AM (12 years ago)
Author:
nacin
Message:

Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r20225 r20231  
    119119        'random-default' => true,
    120120        // Callback for styling the header.
    121         'callback' => 'twentyeleven_header_style',
     121        'wp-head-callback' => 'twentyeleven_header_style',
    122122        // Callback for styling the header preview in the admin.
    123         'admin-header-callback' => 'twentyeleven_admin_header_style',
     123        'admin-head-callback' => 'twentyeleven_admin_header_style',
    124124        // Callback used to display the header preview in the admin.
    125         'admin-image-div-callback' => 'twentyeleven_admin_header_image',
     125        'admin-preview-callback' => 'twentyeleven_admin_header_image',
    126126    ) );
    127127
Note: See TracChangeset for help on using the changeset viewer.