| @@ -268,8 +268,13 @@ | ||
| 268 | 268 | require_once WDKIT_INCLUDES . 'admin/class-wdkit-enqueue.php'; |
| 269 | 269 | require_once WDKIT_INCLUDES . 'admin/class-wdesignkit-data-query.php'; |
| 270 | 270 | require_once WDKIT_INCLUDES . 'admin/class-wdkit-depends-installer.php'; |
| 271 | 271 | |
| 272 | + // PHP importer service layer. Class definitions only - registers no hooks and | |
| 273 | + // instantiates nothing, so this is inert until something calls it. The browser | |
| 274 | + // importer does not, and its AJAX path is unchanged. | |
| 275 | + require_once WDKIT_INCLUDES . 'admin/import/import-load.php'; | |
| 276 | + | |
| 272 | 277 | // Must load before widget-load-files.php: the Gutenberg/Gutenberg Core loaders |
| 273 | 278 | // register their widgets synchronously in their own constructor (not on a later |
| 274 | 279 | // hook), so wdesignkit_get_widget_registry() has to already be defined by the |
| 275 | 280 | // time widget-load-files.php requires and instantiates them below. |