Changeset 55559
- Timestamp:
- 03/18/2023 12:32:54 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r55526 r55559 585 585 $include_unapproved = wp_parse_list( $this->query_vars['include_unapproved'] ); 586 586 587 $unapproved_ids = array();588 $unapproved_emails = array();589 587 foreach ( $include_unapproved as $unapproved_identifier ) { 590 588 // Numeric values are assumed to be user IDs. … … 1014 1012 * @since 4.4.0 1015 1013 * 1016 * @global wpdb $wpdb WordPress database abstraction object.1017 *1018 1014 * @param WP_Comment[] $comments Array of top-level comments whose descendants should be filled in. 1019 1015 * @return array 1020 1016 */ 1021 1017 protected function fill_descendants( $comments ) { 1022 global $wpdb;1023 1024 1018 $levels = array( 1025 1019 0 => wp_list_pluck( $comments, 'comment_ID' ),
Note: See TracChangeset
for help on using the changeset viewer.