Changeset 11971 for trunk/wp-includes/functions.php
- Timestamp:
- 09/24/2009 05:19:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r11968 r11971 3386 3386 3387 3387 $comments_to_delete = $wpdb->get_results($wpdb->prepare("SELECT comment_id FROM $wpdb->commentmeta WHERE meta_key = '_wp_trash_meta_time' AND meta_value < '%d'", $delete_timestamp), ARRAY_A); 3388 3388 3389 3389 foreach ( (array) $comments_to_delete as $comment ) { 3390 3390 wp_delete_comment($comment['comment_id']);
Note: See TracChangeset
for help on using the changeset viewer.