We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceae0e4 commit a184433Copy full SHA for a184433
includes/admin/feedzy-rss-feeds-admin.php
@@ -2592,7 +2592,7 @@ public function validate_feed() {
2592
continue;
2593
}
2594
2595
- if ( $items === 0 ) {
+ if ( 0 === $items ) {
2596
$results[] = array(
2597
'url' => $feed_url,
2598
'status' => 'warning',
@@ -2604,8 +2604,8 @@ public function validate_feed() {
2604
2605
2606
'status' => 'success',
2607
- /* translators: %d is the number of items found in the feed */
2608
'message' => $title . sprintf(
+ /* translators: %d is the number of items found in the feed */
2609
_n(
2610
'%d item found',
2611
'%d items found',
0 commit comments