Changeset 53503 for trunk/src/wp-includes/class-wp-comment-query.php
- Timestamp:
- 06/14/2022 04:15:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r53469 r53503 912 912 913 913 if ( ! empty( $this->query_vars['date_query'] ) && is_array( $this->query_vars['date_query'] ) ) { 914 $this->date_query = new WP_Date_Query( $this->query_vars['date_query'], 'comment_date' ); 914 $this->date_query = new WP_Date_Query( $this->query_vars['date_query'], 'comment_date' ); 915 916 // Strip leading 'AND'. 915 917 $this->sql_clauses['where']['date_query'] = preg_replace( '/^\s*AND\s*/', '', $this->date_query->get_sql() ); 916 918 }
Note: See TracChangeset
for help on using the changeset viewer.