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