From aa2af10175c9935f76d9da2d9b151a2b13b1baea Mon Sep 17 00:00:00 2001 From: Filip Ilic Date: Tue, 5 Nov 2024 14:25:52 +0100 Subject: [PATCH] meh, change radio value --- classes/admin/class-page-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/admin/class-page-settings.php b/classes/admin/class-page-settings.php index 4e050e413..5b647e20b 100644 --- a/classes/admin/class-page-settings.php +++ b/classes/admin/class-page-settings.php @@ -110,7 +110,7 @@ public function store_settings_form_options() { $need_page = \sanitize_text_field( \wp_unslash( $page_args['have_page'] ) ); // Add the no-page-needed flag if it doesn't exist. - if ( '_no_page_needed' === $need_page ) { + if ( 'not-applicable' === $need_page ) { \progress_planner()->get_page_types()->add_no_type_needed( $type ); } else { // Remove the no-page-needed flag if it exists.