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