WordPress/wp-admin/custom-background.php
Gary Pendergast 971814047f 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.

Built from https://develop.svn.wordpress.org/trunk@45662


git-svn-id: http://core.svn.wordpress.org/trunk@45473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-19 04:02:55 +00:00

16 lines
419 B
PHP

<?php
/**
* Custom background script.
*
* This file is deprecated, use 'wp-admin/includes/class-custom-background.php' instead.
*
* @deprecated 5.3.0
* @package WordPress
* @subpackage Administration
*/
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-background.php' );
/** Custom_Background class */
require_once( ABSPATH . 'wp-admin/includes/class-custom-background.php' );