You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These lines of code add a "fake update" if the update response is expired or invalid. The reason this "fake update" is added, is so we can display a message on the plugins list about updating your license.
However, these lines are added outside of the version check, which means they are added even if no update is available.
Because these lines are added to the transient, WordPress sees that an update is available and shows it on the update-core.php admin page as available.
Potential solution:
These lines should be added inside the version check conditional.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
The issue:
Code: https://github.com/stellarwp/uplink/blob/main/src/Uplink/Resources/Plugin.php#L72-L78
These lines of code add a "fake update" if the update response is expired or invalid. The reason this "fake update" is added, is so we can display a message on the plugins list about updating your license.
However, these lines are added outside of the version check, which means they are added even if no update is available.
Because these lines are added to the transient, WordPress sees that an update is available and shows it on the update-core.php admin page as available.
Potential solution:
These lines should be added inside the version check conditional.
The text was updated successfully, but these errors were encountered: