• Mike

    (@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)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    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.

    Thread Starter Mike

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

    Thread Starter Mike

    (@jolley_small)

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

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    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.