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.