| 1 |
<?php |
| 2 |
/** |
| 3 |
* OpenStation — first-run module bootstrap. |
| 4 |
* |
| 5 |
* Everything that turns an install into an activated install: the |
| 6 |
* install / first-enable stamps, the "Turn on" plugin row action, the |
| 7 |
* activation nudge on Dashboard and Plugins, and the server-side gate |
| 8 |
* of the first-boot shell tour. The stamps answer "did this install |
| 9 |
* ever get turned on, and how fast?"; the deactivation feedback |
| 10 |
* payload (`includes/feedback/`) reads them. |
| 11 |
* |
| 12 |
* Loaded unconditionally, not inside the admin-only block: the stamps |
| 13 |
* are written from the AJAX toggle, the portal and the activation |
| 14 |
* hook, none of which is a wp-admin page render. The nudge's |
| 15 |
* `admin_notices` hook only fires in wp-admin and is harmless |
| 16 |
* elsewhere. |
| 17 |
* |
| 18 |
* @package OpenStation |
| 19 |
*/ |
| 20 |
|
| 21 |
defined( 'ABSPATH' ) || exit; |
| 22 |
|
| 23 |
require_once __DIR__ . '/stamps.php'; |
| 24 |
require_once __DIR__ . '/shell-tour.php'; |
| 25 |
require_once __DIR__ . '/plugin-row.php'; |
| 26 |
require_once __DIR__ . '/nudge.php'; |
| 27 |
|