Changeset 45667 for trunk/src/wp-includes/comment.php
- Timestamp:
- 07/25/2019 12:47:53 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r45611 r45667 165 165 } 166 166 167 $defaults = array(167 $defaults = array( 168 168 'status' => 1, 169 169 'post_id' => $post_id, 170 170 'order' => 'ASC', 171 171 ); 172 $ r= wp_parse_args( $args, $defaults );172 $parsed_args = wp_parse_args( $args, $defaults ); 173 173 174 174 $query = new WP_Comment_Query; 175 return $query->query( $ r);175 return $query->query( $parsed_args ); 176 176 } 177 177
Note: See TracChangeset
for help on using the changeset viewer.