Closed bobbingwide closed 8 years ago
Develop a filter to allow the relocating plugin/theme to advise the actual file name of the attached file. The filter name will be "oik_clone_filter_media_file". This will need to be implemented by oik-plugins and oik-themes.
In oik-plugins and oik-themes, for freely available plugins and themes, the attached .ZIP files can be stored in the
wp-content/uploads
directory without any concerns.For premium plugins and themes these files need to be protected. This is catered for by relocating them to a server defined location when they are first uploaded. Update requests for premium versions check the user's authority to download new versions.
When cloning the ZIP files attached to premium plugin and theme versions, the oik-clone plugin does not take the relocation into account.
Similarly, cloning doesn't work too well for EDD "downloads" and its attached files.
Temporary workaround
ftp the files before cloning.