-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow user to exclude global fallback image in feed settings #941
Conversation
I was checking this PR on my site, and it didn't work as expected; I am still facing the same issue mentioned in the initial issue description. Please check this video screencast - https://vertis.d.pr/v/v6mwPb Here are the test instance details -
|
@kushh23 I was following the steps from your video, and the problem seems to be cached on the WordPress instance. Since you has the current version, when you replaced with the PR version, the cache did not updated since it was still on the same version. Either, you check with a new instance or try to change the plugin version in the current instance. You can install something like
You will see if it works when the value ![]() |
I can't replicate the issue mentioned by @kushh23 and it works as expected to me, so merging this into release. |
🎉 This PR is included in version 4.4.9 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
The feed setting dashboard did not have a memory to remember if the user did not want a fallback image. Thus, if you have the global fallback set, the dashboard will always use it.
After removing the fallback image from the feed settings and returning later for a short edit, if you do not re-check the fallback image settings and save, the global fallback image will be used; thus, the imported feeds will have the reported problem.
To solve this, I used the value
0
as a marking forno fallback image
. When the user presses theRemove
button in feed settings,0
will be used as the image ID. The code already considered0
as no fallback image, but it was never enabled for the user to use it.Will affect the visual aspect of the product
NO
Screenshots
2024-05-21_11-03-00.mp4
Test instructions
Check before Pull Request is ready:
Closes https://github.com/Codeinwp/feedzy-rss-feeds-pro/issues/719