Make WordPress Core


Ignore:
Timestamp:
07/17/2019 06:16:27 AM (7 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-admin/includes/ajax-actions.php

    r45611 r45654  
    36803680                        }
    36813681
    3682                         /** This filter is documented in wp-admin/custom-header.php */
     3682                        /** This filter is documented in wp-admin/includes/class-custom-image-header.php */
    36833683                        $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
    36843684                        $object  = $wp_site_icon->create_attachment_object( $cropped, $attachment_id );
     
    37083708                        do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped );
    37093709
    3710                         /** This filter is documented in wp-admin/custom-header.php */
     3710                        /** This filter is documented in wp-admin/includes/class-custom-image-header.php */
    37113711                        $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication.
    37123712
Note: See TracChangeset for help on using the changeset viewer.