title: How to generate a WordPress plugin install link
body: <p>I'm created a plugin that replaces a previous plugin I wrote and adds some extra stuff too. I want to create an alert in the settings page of my old plugin with a link to download and install my new plugin and inform them that the old plugin is no longer supported by its developer. Currently, from the plugin page of my admin panel, install links look like this:</p>
  
  <pre><code>http://www.example.com/wp-admin/network/update.php?action=install-plugin&amp;plugin=wptouch&amp;_wpnonce=a8d64aa295
  </code></pre>
  
  <p>It seems to me there are at least two things too keep in mind when creating the URI:</p>
  
  <ol>
  <li>Check whether or not this is a multi-site setup</li>
  <li>Make sure I generate the correct nonce.</li>
  </ol>
  
  <p>Does anybody know how to properly do this? Is there anything else I need to consider when generating this URI?</p>
  
  <p>Thanks in advance for your help.</p>