The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Changing/disabling Automatic Updating (5 posts)

  1. Mike
    Posted 8 years ago #

    My plugin (wp_download_monitor) contains a folder called USER_UPLOADS. Automatic updates via the plugin page are wiping this folder clean. I need a workaround to stop the contents of this folder being deleted. Ideas?

  2. Don't put the folder into your plugin.

    Currently, there is no other way. There was discussion on wp-hackers and possibly trac about this issue, but the current state of affairs is that there is no workaround. Upgrading a plugin deletes the old plugin directory and everything in it. So make the uploads go elsewhere, like the wp-content/uploads directory.

  3. Mike
    Posted 8 years ago #

    Are you sure there is no other way? I cannot really change the folder now, just think of all the people who will lose their uploads! =(

  4. Mike
    Posted 8 years ago #

    If not, would you suggest waiting for an update to wordpress?

  5. No, because there's not a planned change for this that I know of.

    I'd rewrite your plugin to move people's uploads to some other place.

Topic Closed

This topic has been closed to new replies.

About this Topic