diff --git a/class/mtee.php b/class/mtee.php index adb49fd..54cce1d 100644 --- a/class/mtee.php +++ b/class/mtee.php @@ -39,17 +39,6 @@ if (!class_exists('MTEE')) { require_once MTEE_TEMPLATE_DIR . 'index.php'; } - public function pages_setting() { - //$_POST['_mtee'])があったら保存 - if (isset($_POST['_mtee'])) { - check_admin_referer('check_options'); - $opt = $_POST['_mtee']; - update_option('_mtee', $opt); - require_once MTEE_TEMPLATE_DIR . 'success.php'; - } - require_once MTEE_TEMPLATE_DIR . 'pages.php'; - } - public static function register_target(): array { $custom_posts = get_post_types(array('public' => true, '_builtin' => false)); $taxonomies = get_taxonomies(array('public' => true, '_builtin' => false)); diff --git a/template/index.php b/template/index.php index 3345873..00371c9 100644 --- a/template/index.php +++ b/template/index.php @@ -14,34 +14,26 @@ $rss_disabled = $this->get_key_setting('rss_disabled');