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-background.php

    r17748 r17771  
    4444
    4545    /**
    46      * PHP4 Constructor - Register administration header callback.
     46     * Constructor - Register administration header callback.
    4747     *
    4848     * @since 3.0.0
     
    5151     * @return Custom_Background
    5252     */
    53     function Custom_Background($admin_header_callback = '', $admin_image_div_callback = '') {
     53    function __construct($admin_header_callback = '', $admin_image_div_callback = '') {
    5454        $this->admin_header_callback = $admin_header_callback;
    5555        $this->admin_image_div_callback = $admin_image_div_callback;
Note: See TracChangeset for help on using the changeset viewer.