Changeset 12715 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 01/12/2010 10:38:26 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r12616 r12715 245 245 $_comment_post_ids[] = $_c->comment_post_ID; 246 246 } 247 $_comment_pending_count_temp = (array) get_pending_comments_num($_comment_post_ids); 248 foreach ( (array) $_comment_post_ids as $_cpid ) 249 $_comment_pending_count[$_cpid] = isset( $_comment_pending_count_temp[$_cpid] ) ? $_comment_pending_count_temp[$_cpid] : 0; 250 if ( empty($_comment_pending_count) ) 251 $_comment_pending_count = array(); 247 248 $_comment_pending_count = get_pending_comments_num($_comment_post_ids); 252 249 253 250 $comments = array_slice($_comments, 0, $comments_per_page);
Note: See TracChangeset
for help on using the changeset viewer.