From 830e3ef84c7a95c288d456eb783160dfe9f8338f Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sun, 22 Nov 2009 22:36:54 -0800 Subject: [PATCH] fixed comicpress options reset button Signed-off-by: Philip M. Hofer (Frumph) --- comicpress-options.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/comicpress-options.php b/comicpress-options.php index 79ccbe3..495ee15 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -147,7 +147,10 @@ function comicpress_admin() { + if ($_REQUEST['action'] == 'comicpress_reset') { + delete_option('comicpress_options'); + $comicpress_options = comicpress_load_options(); + ?>

-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+