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 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-custom-image-header.php

    r45653 r45654  
    826826            }
    827827
    828             /** This filter is documented in wp-admin/custom-header.php */
     828            /** This filter is documented in wp-admin/includes/class-custom-image-header.php */
    829829            $image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication
    830830
     
    969969        }
    970970
    971         /** This filter is documented in wp-admin/custom-header.php */
     971        /** This filter is documented in wp-admin/includes/class-custom-image-header.php */
    972972        $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication
    973973
     
    13051305        }
    13061306
    1307         /** This filter is documented in wp-admin/custom-header.php */
     1307        /** This filter is documented in wp-admin/includes/class-custom-image-header.php */
    13081308        $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication
    13091309
Note: See TracChangeset for help on using the changeset viewer.