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