Updated database update 1.1.33 to use NULL for DATETIME field for file_library table.
Commented out code in deactivate.php to remove current_user_can() call that can't be run there.
{
// Make sure the current user has this capability
+/*
if (!current_user_can('activate_plugins')) {
die();
}
+*/
// Check if there was an error and WP is calling us again
if ($this->checkErrorScrape()) {
file_name TINYTEXT NULL, -- Stored file name for the file
descr TEXT NULL, -- Description
title TINYTEXT NULL, -- File title
- last_access_time DATETIME DEFAULT NOW(), -- Upload time or last access time
+ last_access_time DATETIME NULL, -- Upload time or last access time
PRIMARY KEY (id),
INDEX(name(20)),
INDEX(file_name(20))
file_name TINYTEXT NULL, -- Stored file name for the file
descr TEXT NULL, -- Description
title TINYTEXT NULL, -- File title
- last_access_time DATETIME DEFAULT NOW(), -- Upload time or last access time
+ last_access_time DATETIME NULL, -- Upload time or last access time
PRIMARY KEY (id),
INDEX(name(20)),
INDEX(file_name(20))