Changeset 37342 for trunk/src/wp-includes/date.php
- Timestamp:
- 05/02/2016 03:59:56 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/date.php
r35796 r37342 3 3 * Class for generating SQL clauses that filter a primary query according to date. 4 4 * 5 * `WP_Date_Query` is a helper that allows primary query classes, such as {@see WP_Query},6 * t o filter their results by date columns, by generating `WHERE` subclauses to be attached7 * to theprimary SQL query string.5 * WP_Date_Query is a helper that allows primary query classes, such as WP_Query, to filter 6 * their results by date columns, by generating `WHERE` subclauses to be attached to the 7 * primary SQL query string. 8 8 * 9 9 * Attempting to filter by an invalid date value (eg month=13) will generate SQL that will 10 10 * return no results. In these cases, a _doing_it_wrong() error notice is also thrown. 11 * See {@link WP_Date_Query::validate_date_values()}.11 * See WP_Date_Query::validate_date_values(). 12 12 * 13 13 * @link https://codex.wordpress.org/Function_Reference/WP_Query Codex page. … … 19 19 * Array of date queries. 20 20 * 21 * See {@see WP_Date_Query::__construct()}for information on date query arguments.21 * See WP_Date_Query::__construct() for information on date query arguments. 22 22 * 23 23 * @since 3.7.0 … … 569 569 * Generate SQL clauses to be appended to a main query. 570 570 * 571 * Called by the public {@see WP_Date_Query::get_sql()}, this method572 * is abstractedout to maintain parity with the other Query classes.571 * Called by the public WP_Date_Query::get_sql(), this method is abstracted 572 * out to maintain parity with the other Query classes. 573 573 * 574 574 * @since 4.1.0
Note: See TracChangeset
for help on using the changeset viewer.