WordPress/wp-includes/date.php
Sergey Biryukov a0215f6e9d General: Use WPINC as a shorter reference to wp-includes in some files.
This brings more consistency with similar `require_once` statements and `_deprecated_file()` calls in other files.

Follow-up to [601], [628], [36693], [44359], [45663], [45678], [52026], 

Props malthert.
See #54233.
Built from https://develop.svn.wordpress.org/trunk@53518


git-svn-id: http://core.svn.wordpress.org/trunk@53107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-17 11:20:13 +00:00

15 lines
400 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', WPINC . '/class-wp-date-query.php' );
/** WP_Date_Query class */
require_once ABSPATH . WPINC . '/class-wp-date-query.php';