plugin updates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user