- Now the plugin is not fully enabled if the rewrite rules are detected to not be fully functioning as required
- Added flag to indicate Media Vault can only be network activated on WordPress Multisite installs
- Added return to homepage link in standard access denied message on protected media
- Added Media Vault Activation/Deactivation Helper (MVADH) to support setups where Media Vault cannot automatically configure all components it needs to function, particularly the rewrite rules. Currently, MVADH supports single & multisite WordPress installs on Apache + mod_rewrite. Support for more server technologies coming soon. MVADH not supporting a particular server technology does not mean Media Vault cannot work with that technology, just that you may need to figure some of how to make the rewrite rules work by yourself.
- Added much better support for WP multisite: better activation support, better deactivation support, better uninstallation support, better rewrite rule support, better file-handling support, better plugin update support.
- Added MVADH rewrite rule support for ugly permalink setups
- Made some performance tweaks & minor bugfixing
- added functionality to allow a place-holder image to replace a requested protected image.
- refactored permission resolving functions to be more thorough and efficient.
mgjp_mv_admin_check_user_permitted() function to handle non admin checking and renamed it to
mgjp_mv_check_user_permitted() to reflect this.
- added plugin update handling class to manage per update required changes fluidly.
- created an
uninstall.php file and moved all settings removal actions there so that settings are now saved when a user only deactivates and does not remove the plugin.
- added a link to the Media Vault settings to the Plugins page.
- fixed bug with the Media Vault metabox not being able to set the default permission on the attachment.
- fixed bug with the
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.
- Rewrote default permissions to return rather than using
wp_die directly. They now MUST either return
true upon determining the current user is permitted to access a particular attachment; or if access is denied:
false or a
WP_Error object 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.
- Hooked into the 'user_has_cap' and 'media_row_actions' filters to restrict what users could see and manipulate in the backend for the specific attachments they did not have the permission to access.
- Rewrote the custom permission checking function handling section of the file-handling script
mv-file-handler.php to accommodate the changes to the way custom permission functions now return values.