Make WordPress Core


Ignore:
Timestamp:
07/17/2019 06:16:27 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Move wp-admin/custom-header.php to wp-admin/includes/class-custom-image-header.php

This renames the file containing the Custom_Image_Header class to conform to the coding standards.

This commit also includes:

  • A new custom-header.php that includes the new file, for anyone that may've been including the file directly.
  • Replaces references to the old filename with the new filename.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r45639 r45654  
    26052605
    26062606        if ( is_admin() ) {
    2607             require_once( ABSPATH . 'wp-admin/custom-header.php' );
     2607            require_once( ABSPATH . 'wp-admin/includes/class-custom-image-header.php' );
    26082608            $custom_image_header = new Custom_Image_Header( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
    26092609        }
Note: See TracChangeset for help on using the changeset viewer.