Changeset 32600 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 05/25/2015 05:58:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r32591 r32600 3197 3197 $number = absint($struct['number']); 3198 3198 3199 $comments = get_comments( array( 'status' => $status, 'post_id' => $post_id, 'offset' => $offset, 'number' => $number ) );3199 $comments = get_comments( array( 'status' => $status, 'post_id' => $post_id, 'offset' => $offset, 'number' => $number ) ); 3200 3200 3201 3201 $comments_struct = array(); 3202 3203 foreach ( $comments as $comment ) { 3204 $comments_struct[] = $this->_prepare_comment( $comment ); 3202 if ( is_array( $comments ) ) { 3203 foreach ( $comments as $comment ) { 3204 $comments_struct[] = $this->_prepare_comment( $comment ); 3205 } 3205 3206 } 3206 3207
Note: See TracChangeset
for help on using the changeset viewer.