im trying to upgrade my own plugin, and install another plugin,
it installs ok, but it adds .tmp in the folder name of the plugin some of the times.
what is supposed to be
my code is simple,
$upgrader = new WP_Upgrader(new my_plugin_skin()); $plugin_url = @$upgrader->run(array( 'package' => $download_link, 'destination' => $destination, 'clear_destination'=> $clear_destination, 'clear_working' => true, 'is_multi' => true, 'hook_extra' => array() ));