diff --git a/admin/class-bread-admin.php b/admin/class-bread-admin.php index 852e967..9cf3850 100644 --- a/admin/class-bread-admin.php +++ b/admin/class-bread-admin.php @@ -563,10 +563,7 @@ function pwsix_process_settings_admin() } function process_customize_form() { - $_POST['bmltmeetinglistsave'] = isset($_POST['bmltmeetinglistsave']); - $_POST['bmltmeetinglistpreview'] = isset($_POST['bmltmeetinglistpreview']); - - if ($_POST['bmltmeetinglistsave'] || $_POST['bmltmeetinglistpreview']) { + if (isset($_POST['bmltmeetinglistsave']) || isset($_POST['bmltmeetinglistpreview'])) { if (!wp_verify_nonce($_POST['_wpnonce'], 'bmltmeetinglistupdate-options')) { die('Whoops! There was a problem with the data you posted. Please go back and try again.'); }