classes/autoptimizePartners.php 1 location
|
@@ 59-62 (lines=4) @@
|
| 56 |
|
$rss = fetch_feed( 'http://feeds.feedburner.com/OptimizingMattersDownloads' ); |
| 57 |
|
$maxitems = 0; |
| 58 |
|
|
| 59 |
|
if ( ! is_wp_error( $rss ) ) { |
| 60 |
|
$maxitems = $rss->get_item_quantity( 20 ); |
| 61 |
|
$rss_items = $rss->get_items( 0, $maxitems ); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
if ( 0 == $maxitems ) { |
| 65 |
|
$output .= $no_feed_text; |
classes/autoptimizeConfig.php 1 location
|
@@ 835-838 (lines=4) @@
|
| 832 |
|
$rss = fetch_feed( $url ); |
| 833 |
|
$maxitems = 0; |
| 834 |
|
|
| 835 |
|
if ( ! is_wp_error( $rss ) ) { |
| 836 |
|
$maxitems = $rss->get_item_quantity( 7 ); |
| 837 |
|
$rss_items = $rss->get_items( 0, $maxitems ); |
| 838 |
|
} |
| 839 |
|
?> |
| 840 |
|
<ul> |
| 841 |
|
<?php if ( 0 == $maxitems ) : ?> |