@@ 332-334 (lines=3) @@ | ||
329 | private function get_content_range( $config ) { |
|
330 | $range = array(); |
|
331 | // Only when we are sending the whole range do we want to send also the range. |
|
332 | if ( true === isset( $config['posts'] ) && $config['posts'] ) { |
|
333 | $range['posts'] = $this->get_range( 'posts' ); |
|
334 | } |
|
335 | ||
336 | if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
|
337 | $range['comments'] = $this->get_range( 'comments' ); |
|
@@ 336-338 (lines=3) @@ | ||
333 | $range['posts'] = $this->get_range( 'posts' ); |
|
334 | } |
|
335 | ||
336 | if ( true === isset( $config['comments'] ) && $config['comments'] ) { |
|
337 | $range['comments'] = $this->get_range( 'comments' ); |
|
338 | } |
|
339 | return $range; |
|
340 | } |
|
341 |