Changeset 33891 for trunk/src/wp-admin/includes/export.php
- Timestamp:
- 09/03/2015 06:16:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/export.php
r32964 r33891 474 474 <?php endforeach; 475 475 476 $comments = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved <> 'spam'", $post->ID ) ); 476 $_comments = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved <> 'spam'", $post->ID ) ); 477 $comments = array_map( 'get_comment', $_comments ); 477 478 foreach ( $comments as $c ) : ?> 478 479 <wp:comment>
Note: See TracChangeset
for help on using the changeset viewer.