From 80b8838c6ca7433246181b577a748cbd4ff545a8 Mon Sep 17 00:00:00 2001 From: nikitozzzzzzz Date: Thu, 25 Oct 2018 11:46:06 +0300 Subject: [PATCH] - fixed image download with cache; --- includes/core/class-files.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/core/class-files.php b/includes/core/class-files.php index 6f0edf47..e5dd73c8 100644 --- a/includes/core/class-files.php +++ b/includes/core/class-files.php @@ -90,6 +90,7 @@ if ( ! class_exists( 'um\core\Files' ) ) { $url = add_query_arg( array( 'um_action' => 'download', 'um_form' => $form_id, 'um_field' => $field_key, 'um_user' => $user_id, 'um_verify' => $nonce ), $url ); } + //add time to query args for sites with the cache return add_query_arg( array( 't' => time() ), $url ); }