|
@@ 348-350 (lines=3) @@
|
| 345 |
|
private function get_content_range( $config ) { |
| 346 |
|
$range = array(); |
| 347 |
|
// Only when we are sending the whole range do we want to send also the range. |
| 348 |
|
if ( true === isset( $config['posts'] ) && $config['posts'] ) { |
| 349 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 350 |
|
} |
| 351 |
|
|
| 352 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 353 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 352-354 (lines=3) @@
|
| 349 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 350 |
|
} |
| 351 |
|
|
| 352 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 353 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 354 |
|
} |
| 355 |
|
return $range; |
| 356 |
|
} |
| 357 |
|
|