|
@@ 624-629 (lines=6) @@
|
| 621 |
|
$wpdb->queries = array(); |
| 622 |
|
|
| 623 |
|
switch( $object_type ) { |
| 624 |
|
case "posts": |
| 625 |
|
$object_count = $this->post_count( null, $start_id, $end_id ); |
| 626 |
|
$object_table = $wpdb->posts; |
| 627 |
|
$id_field = 'ID'; |
| 628 |
|
$checksum_method = array( $this, 'posts_checksum' ); |
| 629 |
|
break; |
| 630 |
|
case "comments": |
| 631 |
|
$object_count = $this->comment_count( null, $start_id, $end_id ); |
| 632 |
|
$object_table = $wpdb->comments; |
|
@@ 630-635 (lines=6) @@
|
| 627 |
|
$id_field = 'ID'; |
| 628 |
|
$checksum_method = array( $this, 'posts_checksum' ); |
| 629 |
|
break; |
| 630 |
|
case "comments": |
| 631 |
|
$object_count = $this->comment_count( null, $start_id, $end_id ); |
| 632 |
|
$object_table = $wpdb->comments; |
| 633 |
|
$id_field = 'comment_ID'; |
| 634 |
|
$checksum_method = array( $this, 'comments_checksum' ); |
| 635 |
|
break; |
| 636 |
|
default: |
| 637 |
|
return false; |
| 638 |
|
} |