|
@@ 232-234 (lines=3) @@
|
| 229 |
|
private function get_content_range( $config ) { |
| 230 |
|
$range = array(); |
| 231 |
|
// Only when we are sending the whole range do we want to send also the range |
| 232 |
|
if ( isset( $config['posts'] ) && $config['posts'] === true ) { |
| 233 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
if ( isset( $config['comments'] ) && $config['comments'] === true ) { |
| 237 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 236-238 (lines=3) @@
|
| 233 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
if ( isset( $config['comments'] ) && $config['comments'] === true ) { |
| 237 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 238 |
|
} |
| 239 |
|
return $range; |
| 240 |
|
} |
| 241 |
|
|