Active installations50Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Media Auto Hash Rename version 1.0.2 as active, updated 21d ago and tested up to WordPress 5.8.
Overview
About this plugin
Media Auto Hash Rename will rename any file (specific files can be ignored by file extension) during upload, with unique, low collision hashes. Hash characters and length can be configured for even lower collision rate.
More information please visit my site.
This plugin provides no configuration GUI to make it more easier to maintain with the future WordPress updates.
php, I recommend WP-CLI for maintaining these constants.
MAHR_LENGTH: length of the random hashes, (default to 8 ), longer can help reduce collision. Hashes at the length of 8 can be collision-free at the scale of 50,000 images).
MAHR_CHARS: Characters used in hashes, default to 0123456789abcdefghijklmnopqrstuvwxyz_, You can add more characters like uppercased alphabelts to dramatically reduce the collision without increasing the length of your filenames. But please note that this option can be dangerous if you’re not familer with general URI encoding. So if you don’t know what characters are allowed in a filename, just keep it untouched and use the default option.
MAHR_IGNORE: File extensions to be ignored, default to pdf, zip, you can define a comma delimited list of file extensions to bypass renaming process of this plugin. All files that has the file extension you defined in the list will be ignored. Please note that:
File extensions must be defined without the leading peroid, for example: 'pdf, 7z, bmp' works, '.pdf,.7z,.bmp' does not.
With ( 'pdf, zip' ) or without ( 'pdf,zip' ) space both work.
If you define your own ignore list, default ignore list will be discarded. For example, if you define '7z', then 'pdf, zip' will be processed during upload. You need to reapply these extensions with your own: '7z, pdf, zip'.
If you don’t need to ignore any files by its extension. define an empty array [] (without quotes) to this option: define( 'MAR_IGNORE', [] ); to force process PDF and ZIP files.
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
admin
administration
file
files
media
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 5.8
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.8.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.8
Minimum requirementsWordPress 4.0 · PHP not listed
Update activity12 Oct 202621d ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
Version1.0.1→1.0.2
WordPress compatibility5.8.15→5.8.18
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.