Skip to content

Commit 0ec0e9d

Browse files
Fix fatal error: pass $schedule_count to sprintf() in feedzy-schedules.php
Agent-Logs-Url: https://github.com/Codeinwp/feedzy-rss-feeds/sessions/b563361c-63d3-47d7-8dbc-0df1ab4a2ded Co-authored-by: rodica-andronache <3266155+rodica-andronache@users.noreply.github.com>
1 parent ca5902d commit 0ec0e9d

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)