Add _edit_last and _edit_lock to database cleanup tool

This commit is contained in:
Tetrakern 2024-09-17 18:27:22 +02:00
parent 927ceb7bf5
commit f200300d2c

View File

@ -1288,6 +1288,7 @@ function fictioneer_tools_optimize_database() {
AND (meta_value = '' OR meta_value IS NULL OR meta_value = '0')
$not_like_sql
)
OR meta_key IN ('_edit_last', '_edit_lock')
");
// Delete comment meta
@ -1372,6 +1373,7 @@ function fictioneer_tools_optimize_database_preview() {
AND (meta_value = '' OR meta_value IS NULL OR meta_value = '0')
$not_like_sql
)
OR meta_key IN ('_edit_last', '_edit_lock')
");
// Comment meta