NEW: EXIF header malware/backdoor sanitization!
Filenames on the web are different than those on the desktop. Empty spaces and strange characters doesn’t belong to web space. Enter UploadPlus: you can set your rules and clean your files’ name while they upload. Three basic rules:
- keep only alphanumeric [A-Za-z] and digits, spaces and strange characters stripped out;
- convert spaces and strange characters into dashes (-)
- convert spaces and strange characters in underscores (_)
You can apply website-based or date-based prefix, even a custom prefix. Lowercase or Uppercase? Your choice!
Some default prefix:
- time/date based timestamps via PHP date()
- blog name/slug
- and many more!
UploadPlus can also transliterate filenames (text conversion from a non-latin script to raw latin characters).
You can preview settings in the media settings page without uploading files.
If you found this plugin useful or need a new feature feel free to sponsor a coding/support session!
GPL2© 2008+ Paolo Tresso/SWERgroup.
- Download the plugin Zip archive.
uploadplusfolder to your
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Tune the ‘UploadPlus Plugin’ section under ‘Options’->’Media’ according to your own rules.
- Enjoy 🙂
Contributors & Developers
“UploadPlus : File Name Cleaner” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- NEW built-in EXIF malware check (http://blog.sucuri.net/?p=7654)
- NEW username prefix option
- NEW random filename option
- NEW Wider WP compatibility tests (3.3.x, 3.4.x, 3.5.x, 3.6)
NEW Wider PHP compatibility tests (5.2, 5.3, 5.4, 5.5)
DEV Codesniffer + PHPlint pre-commit routines
- DEV PHPdoc descriptions
- DEV Fix PHP warnings and strict
- DEV Fix WP coding styles
* FIX filename in media uploader
* FIX non-latin strings transliteration
* NEW enhanced arabic transliteration support
* FIX default options on first activation
* FIX prefix bug
- 3.0.1 (04/11/12) custom prefix
- 3.0 (04/11/12) upgrade for WordPress 3.4.2, partial rewrite and refactoring.
- 2.7 (28/02/09) version 2.7 for WordPress 2.7 working
- 2.7b1 (26/02/09) beta version for WordPress 2.7 only
- 2.5.1 (10/03/08) little bugfix
- 2.5 (02/03/08) tagged 2.5 release. better german support, props denis.
- 2.5b1 (26/02/08) preliminary WordPress 2.5 support, version bump to match WP version, utf8-based transliteration.
- 0.3.3 (14/09/07) works with WordPress 2.3 and WordPress MU 1.2.*
- 0.3.2 (12/07/07) silly typos fixed 🙂
- 0.3.1 (11/07/07) dd_ prefix added by Ovidiu request
- 0.3 (21/06/07) optional prefix, preview of changes. first tagged stable!
- 0.2 (06/06/07) more options
- 0.1d (20/03/07) better register hook and readme
- 0.1c (06/03/07) fix on plugin activation, options
- 0.1a (20/02/07) initial release