WordPress/wp-includes/date.php
Sergey Biryukov cff445d55f Coding Standards: Move wp-includes/date.php to wp-includes/class-wp-date-query.php.
This renames the file containing the `WP_Date_Query` class to conform to the coding standards.

This commit also includes:

- A new `date.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.

Fixes #47775. See #47632.
Built from https://develop.svn.wordpress.org/trunk@45678


git-svn-id: http://core.svn.wordpress.org/trunk@45489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-25 23:31:56 +00:00

15 lines
409 B
PHP

<?php
/**
* Class for generating SQL clauses that filter a primary query according to date.
*
* This file is deprecated, use 'wp-includes/class-wp-date-query.php' instead.
*
* @deprecated 5.3.0
* @package WordPress
*/
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-includes/class-wp-date-query.php' );
/** WP_Date_Query class */
require_once( ABSPATH . 'wp-includes/class-wp-date-query.php' );