add wordpress uninstall functionality
This commit is contained in:
13
index.php
13
index.php
@@ -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">»</span><span class="turn_off">«</span> Uninstall WordPress</b>
|
||||
<div class="hide">
|
||||
<p>Deletes all files in your webdirectory and the database <YourUsername>_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 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user