|
@@ 377-379 (lines=3) @@
|
| 374 |
|
private function get_content_range( $config ) { |
| 375 |
|
$range = array(); |
| 376 |
|
// Only when we are sending the whole range do we want to send also the range. |
| 377 |
|
if ( true === isset( $config['posts'] ) && $config['posts'] ) { |
| 378 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 379 |
|
} |
| 380 |
|
|
| 381 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 382 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 381-383 (lines=3) @@
|
| 378 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 379 |
|
} |
| 380 |
|
|
| 381 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 382 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 383 |
|
} |
| 384 |
|
return $range; |
| 385 |
|
} |
| 386 |
|
|