WPZOOM Forms PRO 2.0.6
Enhanced file upload security
This release enhances security by preventing direct access to uploaded files and introduces new file management options. The email template editor has been redesigned for improved usability, and several system tags have been added for better customisation.
New
- "File Uploads" settings tab with options to require login to download uploaded files, to delete files from the server right after they were emailed, and to automatically delete files older than a chosen number of days
- System tags for email templates: [user_ip], [user_agent], [page_url], [page_title], [date], [time], [form_title], [form_id], and [user_login], [user_display_name], [user_email] for logged-in visitors
- "Send notifications to" accepts several addresses separated by commas
Improved
- System Status now tests whether the web server really blocks direct access to the upload folder and shows the Nginx rule to add when it does not
- Empty upload folders are removed when their files are deleted
- Redesigned email template editor. Subject, From and Message are now in one column, tags are inserted from an "Insert tag" menu (also into Subject and From), the visual editor uses the same font as the sent email, and the preview shows the email with the site name, recipient, sample answers and the files that will be attached filled in
- When no Reply-To is configured, notification emails now use the submitter's email address as Reply-To, as the builder describes
- When a field is marked as the reply-to address, the confirmation email is sent to that address even if the form has other email fields
- The submission view lists the uploaded files with their size and a download link, or marks them as no longer on the server
- Field tags in the email template editor now show the field label and insert readable tags such as [field_name] instead of [field_input_ae87379b]
- The email template editor now asks before closing when there are unsaved changes, and "Update" is only enabled once something changed
Fixed
- Uploaded files can no longer be opened by their direct URL. The upload folder now denies direct access and files are served through signed download links that cannot be guessed (links in existing submissions keep working)
- AJAX submissions sent an empty Reply-To header when no reply-to address was available
- Submitter email addresses were written to the PHP error log on every confirmation email; this now only happens with WP_DEBUG enabled
- The submission view rendered uploaded-file links as a page embed ("Homepage") and executed shortcodes found in submitted text; values are now escaped and download links show the file name
- "Restore default template" in the email template editor did not update the visual editor
- [field_…] tags using a field ID were not replaced in confirmation emails