|
@@ 219-221 (lines=3) @@
|
| 216 |
|
private function get_content_range( $config ) { |
| 217 |
|
$range = array(); |
| 218 |
|
// Only when we are sending the whole range do we want to send also the range |
| 219 |
|
if ( isset( $config['posts'] ) && $config['posts'] === true ) { |
| 220 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
if ( isset( $config['comments'] ) && $config['comments'] === true ) { |
| 224 |
|
$range['comments'] = $this->get_range( 'comments' ); |
|
@@ 223-225 (lines=3) @@
|
| 220 |
|
$range['posts'] = $this->get_range( 'posts' ); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
if ( isset( $config['comments'] ) && $config['comments'] === true ) { |
| 224 |
|
$range['comments'] = $this->get_range( 'comments' ); |
| 225 |
|
} |
| 226 |
|
return $range; |
| 227 |
|
} |
| 228 |
|
|