Description
A minimalist and secure WordPress plugin that lets you replace existing Media Library files with new uploads while preserving file paths, regenerating thumbnails, and automatically updating all database references.
Detailed Features:
- Simple Interface: Adds a Replace Media action to each Media Library item for quick replacement without leaving the admin flow.
- Secure by Design: Includes nonce verification (CSRF protection), capability checks (
upload_files), file validation, SQL injection protection, XSS-safe output escaping, and file permission checks. - Smart Reference Updates: Automatically updates references when file extensions change, helping prevent broken links after replacement.
- Thumbnail Management: Removes old thumbnails and regenerates all required image sizes to keep WordPress image metadata consistent.
- Database Consistency: Updates GUID, MIME type, and relevant references in
wp_postsandwp_postmeta. - Path Preservation: Replaces files while keeping the original path/attachment relationship intact.
- AJAX-Powered Workflow: Uses secure AJAX upload handling for smoother replacement operations.
- Multilingual Ready: i18n-ready with Turkish and English language support.
- Clean, Standards-Based Code: Built according to WordPress Coding Standards with maintainable structure and comments.


Reviews
There are no reviews yet.