WordPress.org

Support

Support » Plugins and Hacks » Changing/disabling Automatic Updating

Changing/disabling Automatic Updating

  • Mike
    Member

    @jolley_small

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Mike
    Member

    @jolley_small

    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! =(

    Mike
    Member

    @jolley_small

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

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing/disabling Automatic Updating’ is closed to new replies.