' . esc_html__('ValueSpace is paused because its data upgrade could not complete. Your existing data has been preserved. Please contact support.', 'valuespace') . '

'; } } require_once VASP_PLUGIN_DIR . 'includes/bootstrap.php'; /** * Compose the plugin before running its activation lifecycle. * * WordPress fires activation before the normal plugins_loaded callback for a * newly activated plugin, so this small adapter keeps activation deterministic * without restoring eager runtime bootstrap in the entry file. */ function vasp_plugin_activate(): void { vasp_bootstrap_plugin(); vasp_activate_plugin(); } /** Compose the plugin before running its deactivation lifecycle. */ function vasp_plugin_deactivate(): void { vasp_bootstrap_plugin(); vasp_deactivate_plugin(); } add_action('plugins_loaded', 'vasp_bootstrap_plugin', 5); register_activation_hook(VASP_PLUGIN_FILE, 'vasp_plugin_activate'); register_deactivation_hook(VASP_PLUGIN_FILE, 'vasp_plugin_deactivate');