Skip to content

Commit 741c4c3

Browse files
Merge pull request #1212 from Codeinwp/copilot/fix-sprintf-missing-argument
Fix fatal ArgumentCountError in feedzy-schedules.php schedule counter
2 parents e41c57e + 0ec0e9d commit 741c4c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/layouts/feedzy-schedules.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class="fz-schedules-table"
8282
<?php
8383
$schedule_count = count( $custom_schedules );
8484

85-
// translators: %s is the number of custom schedules.
86-
echo esc_html( sprintf( _n( '%d item', '%d items', $schedule_count, 'feedzy-rss-feeds' ) ) );
85+
// translators: %d is the number of custom schedules.
86+
echo esc_html( sprintf( _n( '%d item', '%d items', $schedule_count, 'feedzy-rss-feeds' ), $schedule_count ) );
8787
?>
8888
</div>
8989

0 commit comments

Comments
 (0)