add wordpress uninstall functionality

This commit is contained in:
2015-07-13 14:24:05 +03:00
parent 34c905c62b
commit 49648f229d
2 changed files with 45 additions and 1 deletions

View File

@@ -190,6 +190,19 @@ This panel will not work without activated JavaScript.</span></noscript>
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /hide -->
<!-- UNINSTALLWP - Uninstall WordPress -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Uninstall WordPress</b>
<div class="hide">
<p>Deletes all files in your webdirectory and the database &lt;YourUsername&gt;_wp.<br />
<span class="warn">THIS OPERATION CANNOT BE UNDONE! ALL POST, PAGES AND SETTINGS WILL BE REMOVED!</span></p>
<form action="submit.php" method="post">
<label for="sure">
<input type="checkbox" name="sure" value="yes" id="sure">Yes, I'm really sure that I want to uninstall WordPress completely
</label>
<button type="submit" name="action" value="deluser">Uninstall WordPress</button>
</form>
</div> <!-- /hide -->
</div> <!-- /gallery -->