Protect attachment files from direct access using powerful and flexible restrictions. Offer safe download links for any file in your uploads folder.
fixed bug in
mv-file-handler.php causing php Notice and corrupted files. Big thanks to user ikivanov for pointing it out and providing the solution!
mv-metaboxes.phpcausing php Notice. Thank you user ikivanov for pointing it out!
mv-metaboxes.phpcausing metabox stylesheet not to be served
Fixed typo causing php error in
mv-extra-activation-steps.php. Thank you user wwn2013 for pointing it out!
fixed bug in
mv-file-handler.php that allowed files to be viewed in the protected folder when 'Save uploads in year/month folders' was not selected. Thanks to WayneHarris for pointing the issue out.
added a body class to the WP admin to let Media Vault know to use the new 3.8+ styles
fixed code that required php 5.4 and above, to be compatible with older versions of php
mgjp_mv_admin_check_user_permitted()function to handle non admin checking and renamed it to
mgjp_mv_check_user_permitted()to reflect this.
uninstall.phpfile and moved all settings removal actions there so that settings are now saved when a user only deactivates and does not remove the plugin.
mgjp_mv_get_the_permission()function returning the wrong permission.
The Metabox - added a Media Vault metabox to the attachment editor screen to manage protection meta + bugfixing on the bulk actions script
Minor remastering of permission checking code to address protected attachment access from within the WordPress backend. Highly recommended to immediately update.
wp_diedirectly. They now MUST either return
trueupon determining the current user is permitted to access a particular attachment; or if access is denied:
WP_Errorobject with an error message included.
mgjp_mv_admin_check_user_permitted()function to use permission functions to change access to attachments while within the WP Admin.
mv-file-handler.phpto accommodate the changes to the way custom permission functions now return values.
Requires: 3.5.0 or higher
Compatible up to: 3.8.7
Last Updated: 2014-2-18
Active Installs: 1,000+
1 of 8 support threads in the last two months have been resolved.
Got something to say? Need help?