Skip to content

Commit a588afe

Browse files
committed
Clear scheduled preload queue during plugin uninstallation
1 parent 1202356 commit a588afe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

uninstall.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ function powered_cache_uninstall_site() {
7979
// remove cron tasks
8080
wp_clear_scheduled_hook( \PoweredCache\Constants\PURGE_CACHE_CRON_NAME );
8181
wp_clear_scheduled_hook( \PoweredCache\Constants\PURGE_FO_CRON_NAME );
82+
wp_clear_scheduled_hook( \PoweredCache\Constants\DEFERRED_PRELOAD_QUEUE_CRON_NAME );
8283

8384
delete_site_transient( \PoweredCache\Constants\PURGE_CACHE_PLUGIN_NOTICE_TRANSIENT );
8485
delete_transient( \PoweredCache\Constants\PURGE_CACHE_PLUGIN_NOTICE_TRANSIENT );

0 commit comments

Comments
 (0)