Sharing a new version of this simple but great plugin Unattach with additional features/fixes as requested by a client:
- Restrict user access via configurable capability
- Fix CSRF security issue
Main php file: http://pastebin.com/ViDhwcm1
Complete package with language files: http://www.wikisend.com/download/994654/unattach.zip (link valid 90 days from today)
The capability can be set via functions.php, example code included.
To the author: Feel free to use the code as you like.
- The topic ‘New version: Localized, restrict users via capability, CSRF fix’ is closed to new replies.