Changeset 30611
- Timestamp:
- 11/28/2014 11:26:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/date.php
r30301 r30611 127 127 * Accepts numbers 1-7 (1 is Sunday). 128 128 * @type int $dayofweek_iso Optional. The day number of the week (ISO). Accepts numbers 1-7 129 * (1 is Monday). Default empty.129 * (1 is Monday). Default empty. 130 130 * @type int $hour Optional. The hour of the day. Default empty. Accepts numbers 0-23. 131 131 * @type int $minute Optional. The minute of the hour. Default empty. Accepts … … 181 181 * Ensures that each query-level clause has a 'relation' key, and that 182 182 * each first-order clause contains all the necessary keys from 183 * $defaults.183 * `$defaults`. 184 184 * 185 185 * @since 4.1.0 186 186 * @access public 187 187 * 188 * @param 188 * @param array $query A tax_query query clause. 189 189 * @return array Sanitized queries. 190 190 */ … … 481 481 * 482 482 * @param array $valid_columns An array of valid date query columns. Defaults 483 * are 'post_date', 'post_date_gmt', 'post_modified',484 * 'post_modified_gmt', 'comment_date', 'comment_date_gmt',485 * 'user_registered'483 * are 'post_date', 'post_date_gmt', 'post_modified', 484 * 'post_modified_gmt', 'comment_date', 'comment_date_gmt', 485 * 'user_registered' 486 486 */ 487 487 if ( ! in_array( $column, apply_filters( 'date_query_valid_columns', $valid_columns ) ) ) { … … 580 580 * @param array $query Query to parse. 581 581 * @param int $depth Optional. Number of tree levels deep we currently are. 582 * Used to calculate indentation. 582 * Used to calculate indentation. Default 0. 583 583 * @return array { 584 584 * Array containing JOIN and WHERE SQL clauses to append to a single query array.
Note: See TracChangeset
for help on using the changeset viewer.