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