fixed comicpress options reset button
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
886b27a310
commit
830e3ef84c
|
@ -147,7 +147,10 @@ function comicpress_admin() {
|
||||||
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
|
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
|
||||||
<?php }
|
<?php }
|
||||||
}
|
}
|
||||||
if ('comicpress_reset' == $_REQUEST['action']) { ?>
|
if ($_REQUEST['action'] == 'comicpress_reset') {
|
||||||
|
delete_option('comicpress_options');
|
||||||
|
$comicpress_options = comicpress_load_options();
|
||||||
|
?>
|
||||||
<div id="message" class="updated fade"><p><strong><?php _e('ComicPress Settings RESET!','comicpress'); ?></strong></p></div>
|
<div id="message" class="updated fade"><p><strong><?php _e('ComicPress Settings RESET!','comicpress'); ?></strong></p></div>
|
||||||
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
|
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue