Skip to content

Fix update tester offering an already-installed version - #1290

Merged
gabrielcld2 merged 1 commit into
developfrom
fix/update-tester-self-update-loop
Sep 23, 2026
Merged

gabrielcld2 merged 1 commit into
developfrom
fix/update-tester-self-update-loop

Conversation

@gabrielcld2

@gabrielcld2 gabrielcld2 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

The update tester (package/package.php) forced Cloudinary into the update list without checking the installed version, so with the test build already installed it kept showing "There is a new version of Cloudinary available" for that same version. Its self-deactivation also relied on a hard-coded folder name that often didn't match, leaving it active and re-injecting the update on every check.

This compares against the installed version (and drops a previously injected update once it's installed), deactivates via plugin_basename(), and gives the tester zip a top-level folder.

The tester forced Cloudinary into the update list without checking the
installed version, and self-deactivated via a hard-coded folder name that
often did not match, so it could keep re-injecting the update forever.

Compare against the installed version, drop a previously injected update
once it is installed, use plugin_basename() for deactivation, and give the
tester zip a top-level folder.

@utkarshcloudinary utkarshcloudinary left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@gabrielcld2
gabrielcld2 merged commit 02ad01e into develop Sep 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants