WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (9 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r17770 r17771  
    6363
    6464    /**
    65      * PHP4 Constructor - Register administration header callback.
     65     * Constructor - Register administration header callback.
    6666     *
    6767     * @since 2.1.0
     
    7070     * @return Custom_Image_Header
    7171     */
    72     function Custom_Image_Header($admin_header_callback, $admin_image_div_callback = '') {
     72    function __construct($admin_header_callback, $admin_image_div_callback = '') {
    7373        $this->admin_header_callback = $admin_header_callback;
    7474        $this->admin_image_div_callback = $admin_image_div_callback;
Note: See TracChangeset for help on using the changeset viewer.