Changeset 51905
- Timestamp:
- 10/13/2021 07:58:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-date-query.php
r51518 r51905 495 495 * @since 3.7.0 496 496 * @since 4.1.0 Added 'user_registered' to the default recognized columns. 497 * @since 4.6.0 Added 'registered' and 'last_updated' to the default recognized columns. 497 498 * 498 499 * @param string[] $valid_columns An array of valid date query columns. Defaults 499 500 * are 'post_date', 'post_date_gmt', 'post_modified', 500 501 * 'post_modified_gmt', 'comment_date', 'comment_date_gmt', 501 * 'user_registered' 502 * 'user_registered', 'registered', 'last_updated'. 502 503 */ 503 504 if ( ! in_array( $column, apply_filters( 'date_query_valid_columns', $valid_columns ), true ) ) {
Note: See TracChangeset
for help on using the changeset viewer.