plugin updates

This commit is contained in:
Tony Volpe
2024-11-15 13:53:04 -05:00
parent 1293d604ca
commit 0238f0c4ca
2009 changed files with 163492 additions and 89543 deletions

View File

@@ -176,10 +176,12 @@ class JUQueueActions
'update_database' => false,
'action' => 'wpmf_physical_folders'
);
JUQueueHelper::moveFile($datas);
if (!isset($_POST['no_move']) && wp_verify_nonce($_POST['wpmf_nonce'], 'wpmf_nonce')) {
JUQueueHelper::moveFile($datas);
}
}
if (isset($data['file'])) {
if (isset($data['file']) && isset($destination) && $destination) {
$dirname = _wp_get_attachment_relative_path($data['file']);
if ($dirname) {
$dirname = trailingslashit($dirname);