Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566

git-svn-id: https://develop.svn.wordpress.org/trunk@14985 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2010-05-27 11:04:08 +00:00
parent a6194f1e0c
commit 94487bb9ea
5 changed files with 41 additions and 21 deletions
+2
View File
@@ -473,6 +473,8 @@ function install_plugin_install_status($api, $loop = false) {
$url = wp_nonce_url(admin_url('update.php?action=install-plugin&plugin=' . $api->slug), 'install-plugin_' . $api->slug);
}
}
if ( isset($_GET['from']) )
$url .= '&from=' . urlencode(stripslashes($_GET['from']));
return compact('status', 'url', 'version');
}