Protect your blog from viruses, trojans, and other kinds of malware. The plugin sends all uploads to the attachmentAV API to scan for malware with Sophos and blocks infected files.
This plugin requires a subscription and API key: Get API key
The Wordpress plugin scans uploads for viruses, trojans, and other kinds of malware. Infected files are rejected during the upload.
- Install attachmentAV either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
- Activate attachmentAV.
- Open the attachmentAV plugin settings tab.
- Create a subscription for the attachmentAV API and enter the API key.
Please contact [email protected] in case you need help or want to leave feedback. Alternatively, open an issue or send a PR.
Use the following command to spin up a development environment.
docker compose up
Optionally use ngrok
to get a publicly reachable development domain.
ngrok http http://localhost:80
Inside PHP, use error_log('log line');
or error_log(print_r($var, true));
to print debug logs.
-
Modify
plugin/README.md
- Update
Stable tag
- Add an item to
Changelog
- Update
-
Modify
plugin/attachmentav.php
- Update the
ATTACHMENTAV_VERSION
constant - Update
Version
(line 19)
- Update the
-
Commit changes.
-
Add and push tag:
git tag -a v1.0.5 -m "v1.0.5"
git push origin main --tags
The workflow release
will synchronize the repository with the WordPress SVN to publish the release.