Changeset 3762 for branches/2.0/wp-includes/comment-functions.php
- Timestamp:
- 05/04/2006 10:25:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/comment-functions.php
r3737 r3762 903 903 function get_approved_comments($post_id) { 904 904 global $wpdb; 905 906 $post_id = (int) $post_id; 905 907 return $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $post_id AND comment_approved = '1' ORDER BY comment_date"); 906 908 }
Note: See TracChangeset
for help on using the changeset viewer.