| @@ -12,10 +12,8 @@ | ||
| 12 | 12 | use SRFM\Admin\Analytics; |
| 13 | 13 | use SRFM\Admin\Notice_Manager; |
| 14 | 14 | use SRFM\Inc\Abilities\Abilities_Registrar; |
| 15 | 15 | use SRFM\Inc\Activator; |
| 16 | -use SRFM\Inc\Admin\Editor_Nudge; | |
| 17 | -use SRFM\Inc\Admin\Html_Form_Detector; | |
| 18 | 16 | use SRFM\Inc\Admin_Ajax; |
| 19 | 17 | use SRFM\Inc\AI_Form_Builder\AI_Auth; |
| 20 | 18 | use SRFM\Inc\AI_Form_Builder\AI_Form_Builder; |
| 21 | 19 | use SRFM\Inc\AI_Form_Builder\AI_Helper; |
| @@ -34,9 +32,8 @@ | ||
| 34 | 32 | use SRFM\Inc\Frontend_Assets; |
| 35 | 33 | use SRFM\Inc\Generate_Form_Markup; |
| 36 | 34 | use SRFM\Inc\Global_Settings\Email_Summary; |
| 37 | 35 | use SRFM\Inc\Global_Settings\Global_Settings; |
| 38 | -use SRFM\Inc\Global_Settings\Global_Settings_Defaults; | |
| 39 | 36 | use SRFM\Inc\Gutenberg_Hooks; |
| 40 | 37 | use SRFM\Inc\Helper; |
| 41 | 38 | use SRFM\Inc\Learn; |
| 42 | 39 | use SRFM\Inc\Onboarding; |
| @@ -44,9 +41,8 @@ | ||
| 44 | 41 | use SRFM\Inc\Payments\Payments; |
| 45 | 42 | use SRFM\Inc\Post_Types; |
| 46 | 43 | use SRFM\Inc\Rest_Api; |
| 47 | 44 | use SRFM\Inc\Single_Form_Settings\Compliance_Settings; |
| 48 | -use SRFM\Inc\Single_Form_Settings\Form_Settings_Api; | |
| 49 | 45 | use SRFM\Inc\Smart_Tags; |
| 50 | 46 | use SRFM\Inc\Updater; |
| 51 | 47 | |
| 52 | 48 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -215,15 +211,9 @@ | ||
| 215 | 211 | if ( is_admin() ) { |
| 216 | 212 | Admin::get_instance(); |
| 217 | 213 | // phpcs:ignore /** @phpstan-ignore-next-line */ -- Class is loaded dynamically in WordPress |
| 218 | 214 | Notice_Manager::get_instance(); |
| 219 | - Editor_Nudge::get_instance(); | |
| 220 | 215 | } |
| 221 | - // Always instantiate — script enqueue is self-gated by `allow_load()`, | |
| 222 | - // while the REST endpoint for converting HTML forms must register | |
| 223 | - // outside the admin context (REST dispatch runs with `is_admin()` === | |
| 224 | - // false, so admin-only instantiation would 404 the endpoint). | |
| 225 | - Html_Form_Detector::get_instance(); | |
| 226 | 216 | Payments::get_instance(); |
| 227 | 217 | Duplicate_Form::get_instance(); |
| 228 | 218 | Learn::get_instance(); |
| 229 | 219 | } |
| @@ -302,12 +292,10 @@ | ||
| 302 | 292 | Smart_Tags::get_instance(); |
| 303 | 293 | Generate_Form_Markup::get_instance(); |
| 304 | 294 | Create_New_Form::get_instance(); |
| 305 | 295 | Global_Settings::get_instance(); |
| 306 | - Global_Settings_Defaults::get_instance(); | |
| 307 | 296 | Email_Summary::get_instance(); |
| 308 | 297 | Compliance_Settings::get_instance(); |
| 309 | - Form_Settings_Api::get_instance(); | |
| 310 | 298 | Events_Scheduler::get_instance(); |
| 311 | 299 | AI_Form_Builder::get_instance(); |
| 312 | 300 | Field_Mapping::get_instance(); |
| 313 | 301 | Background_Process::get_instance(); |