Skip to content

Commit

Permalink
Fixes cache flushing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Nov 22, 2024
1 parent 3ef30f8 commit 148983d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/plugin/class-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function info_update( $transient ) {
*/
public function info_reset( $upgrader, $options ) {
if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
delete_transient( 'update-' . $this->slug );
Cache::delete_global( 'data_update-infos' );
}
}
}

0 comments on commit 148983d

Please sign in to comment.