|
@@ 361-363 (lines=3) @@
|
| 358 |
|
private function get_content_range( $config ) { |
| 359 |
|
$range = array(); |
| 360 |
|
// Only when we are sending the whole range do we want to send also the range. |
| 361 |
|
if ( true === isset( $config['posts'] ) && $config['posts'] ) { |
| 362 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 366 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 365-367 (lines=3) @@
|
| 362 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 366 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 367 |
|
} |
| 368 |
|
return $range; |
| 369 |
|
} |
| 370 |
|
|