|
@@ 329-331 (lines=3) @@
|
| 326 |
|
private function get_content_range( $config ) { |
| 327 |
|
$range = array(); |
| 328 |
|
// Only when we are sending the whole range do we want to send also the range. |
| 329 |
|
if ( true === isset( $config['posts'] ) && $config['posts'] ) { |
| 330 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 331 |
|
} |
| 332 |
|
|
| 333 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 334 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 333-335 (lines=3) @@
|
| 330 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 331 |
|
} |
| 332 |
|
|
| 333 |
|
if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
| 334 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 335 |
|
} |
| 336 |
|
return $range; |
| 337 |
|
} |
| 338 |
|
|