File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 5252- Fix a security issue where the nonce was not verified
5353 for some actions until after the action had been performed.
5454- Cache option values. BLOB values are not cached.
55+ - Fix an issue where uninstall failed.
5556
5657## 9.3.2 (2025-07-29)
5758
Original file line number Diff line number Diff line change 77
88global $ wpdb ;
99
10- $ tables_to_drop = [
10+ // Note that the plugin is deactivated at this point, so we
11+ // can't call code in any of our other files.
12+
13+ $ table_slugs = [
1114 'crawled_files ' ,
1215 'deploy_cache ' , // An older version of deployed_files
1316 'deployed_files ' ,
1720 'options ' ,
1821];
1922
20- foreach ( $ tables_to_drop as $ table_to_drop ) {
21- $ table_name = StaticDeploy \Db:: getTableName ( $ table_to_drop ) ;
23+ foreach ( $ table_slugs as $ table_slug ) {
24+ $ table_name = $ wpdb -> prefix . ' static_deploy_ ' . $ table_slug ;
2225
2326 // phpcs:ignore WordPress.DB.DirectDatabaseQuery
2427 $ wpdb ->query ( $ wpdb ->prepare ( 'DROP TABLE IF EXISTS %i ' , $ table_name ) );
You can’t perform that action at this time.
0 commit comments