|
@@ 163-165 (lines=3) @@
|
| 160 |
|
} |
| 161 |
|
// Don't use year and month for the feed URL, but pass them on if |
| 162 |
|
// we redirect to API (if $feedType is specified) |
| 163 |
|
if ( $feedType && $this->opts['year'] !== null ) { |
| 164 |
|
$feedParams['year'] = $this->opts['year']; |
| 165 |
|
} |
| 166 |
|
if ( $feedType && $this->opts['month'] !== null ) { |
| 167 |
|
$feedParams['month'] = $this->opts['month']; |
| 168 |
|
} |
|
@@ 166-168 (lines=3) @@
|
| 163 |
|
if ( $feedType && $this->opts['year'] !== null ) { |
| 164 |
|
$feedParams['year'] = $this->opts['year']; |
| 165 |
|
} |
| 166 |
|
if ( $feedType && $this->opts['month'] !== null ) { |
| 167 |
|
$feedParams['month'] = $this->opts['month']; |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
if ( $feedType ) { |
| 171 |
|
// Maintain some level of backwards compatibility |