Skip to content

Commit

Permalink
Fixed: Updates-class would keep calling get_version API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Apr 4, 2024
1 parent cde50c8 commit c5c0162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private function get_latest_version( $id ) {

$latest_versions[ $id ] = $latest_version;

set_transient( $this->transient_label . '_addons_latest_available_version', $latest_versions, DAY_IN_SECONDS );
set_transient( $this->transient_label . '_addons_latest_available_versions', $latest_versions, DAY_IN_SECONDS );
}

return $latest_version;
Expand Down

0 comments on commit c5c0162

Please sign in to comment.