Make WordPress Core


Ignore:
Timestamp:
07/19/2019 04:01:41 AM (5 years ago)
Author:
pento
Message:

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

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

This commit also includes:

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

See #47632.

File:
1 edited

Legend:

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

    r45654 r45662  
    26182618
    26192619        if ( is_admin() ) {
    2620             require_once( ABSPATH . 'wp-admin/custom-background.php' );
     2620            require_once( ABSPATH . 'wp-admin/includes/class-custom-background.php' );
    26212621            $custom_background = new Custom_Background( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
    26222622        }
Note: See TracChangeset for help on using the changeset viewer.