Fix fatal sprintf argument mismatch in feedzy-rss-feeds-ui-lang.php#1215
Merged
vytisbulkevicius merged 2 commits intodevelopmentfrom Apr 24, 2026
Merged
Conversation
…s-ui-lang.php Agent-Logs-Url: https://github.com/Codeinwp/feedzy-rss-feeds/sessions/c513702e-da37-4e3f-9ba1-56d28923066e Co-authored-by: rodica-andronache <3266155+rodica-andronache@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix fatal error caused by missing arguments in Feedzy plugin
Fix fatal sprintf argument mismatch in feedzy-rss-feeds-ui-lang.php
Apr 24, 2026
Contributor
🌍 i18n String Review Report📊 Summary
➕ Added Strings (1) - Click to expand
➖ Removed Strings (1) - Click to expand
|
Contributor
|
Plugin build for 1c38a64 is ready 🛎️!
Note You can preview the changes in the Playground |
rodica-andronache
approved these changes
Apr 24, 2026
Contributor
|
🎉 This PR is included in version 5.1.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHP 8 throws a fatal error when
sprintfreceives fewer arguments than placeholders in the format string. Theget_form_elements()meta description string declared 6 unique positional placeholders (%1$s–%6$s) but only 4 arguments were passed, crashing the widget on the Customizer screen.Change
includes/admin/feedzy-rss-feeds-ui-lang.php— Replaced%3$sdate%4$sand%5$stime%6$swith%1$sdate%2$sand%1$stime%2$s, reusing the existing<code>/</code>positional args instead of requiring new ones. This matches the pattern already used in the adjacent Pro/categories variant of the same string.