Install remote plugin, upgrader adding .tmp to folder
-
Hi,
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
/wp-content/plugins/some_plugin/someplugin.php
becomes
/wp-content/plugins/some_plugin.tmp/someplugin.php
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() ));
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Install remote plugin, upgrader adding .tmp to folder’ is closed to new replies.