Support » Plugin: qCleanup » [Plugin: qCleanup] Beware – This plugin also deletes non-media files

  • You definitely need to do some work on this plugin.

    I used it to get rid of my redundant media files but it also deleted a bunch of CSS, ZIP and other clearly non-media files.

    Lucky I’ve got a full backup so I could restore the files… and lucky your plugin is Open Source, otherwise you might end up with a massive lawsuit for damaging peoples’ data.

    My suggestion is that you “teach” the plugin to recognise file types. It’s not that difficult in PHP.

    This plugin can only be used if your uploads folder doesn’t contain important data, otherwise don’t even think about using this plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author ognjen.kuljic


    Hi tankard,

    God advice for media file filter.
    I’ll keep that in mind for update.

    As for your css, zip and …, If u upload files true media library(from post add/edit page or admin>media page) WP store their name and location in database.

    This plugin have simple logic. Loads all files(names and locations) from the database and compare that list with upload dir content and return differences.
    Than group files in to categories nominated for deletion:
    -unused files- files that wp have tracks of them, but they are not used (connected to post, page, or some other custom content type).
    -leftover files – files that wp has no “idea” that they exist.

    Sorry for trouble u had.

    Best practice is to manually uploaded files (through ftp, cpanel or …) keep out of core structure.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: qCleanup] Beware – This plugin also deletes non-media files’ is closed to new replies.