| @@ -1,15 +1,20 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * OpenStation — first-run module bootstrap. |
| 4 | 4 | * |
| 5 | - * The install / first-enable stamps: the facts that answer "did this | |
| 6 | - * install ever get turned on, and how fast?". The deactivation | |
| 7 | - * feedback payload (`includes/feedback/`) reads them. | |
| 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. | |
| 8 | 11 | * |
| 9 | 12 | * Loaded unconditionally, not inside the admin-only block: the stamps |
| 10 | 13 | * are written from the AJAX toggle, the portal and the activation |
| 11 | - * hook, none of which is a wp-admin page render. | |
| 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. | |
| 12 | 17 | * |
| 13 | 18 | * @package OpenStation |
| 14 | 19 | */ |
| 15 | 20 | |
| @@ -15,4 +20,7 @@ | ||
| 15 | 20 | |
| 16 | 21 | defined( 'ABSPATH' ) || exit; |
| 17 | 22 | |
| 18 | 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'; | |