| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: OpenStation |
| 4 | 4 | * Plugin URI: https://github.com/WordPress/openstation |
| 5 | 5 | * Description: Renders the WordPress admin as a desktop OS. Admin screens become draggable, resizable, minimizable windows floating on a desktop with a dock. Purely opt-in per user. |
| 6 | - * Version: 1.1.8 | |
| 6 | + * Version: 1.1.10 | |
| 7 | 7 | * Requires at least: 6.0 |
| 8 | 8 | * Requires PHP: 7.4 |
| 9 | 9 | * Author: Daniel López Sánchez |
| 10 | 10 | * Author URI: https://github.com/allterraindeveloper |
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | 19 | defined( 'ABSPATH' ) || exit; |
| 20 | 20 | |
| 21 | -define( 'OPENSTATION_VERSION', '1.1.8' ); | |
| 21 | +define( 'OPENSTATION_VERSION', '1.1.10' ); | |
| 22 | 22 | define( 'OPENSTATION_FILE', __FILE__ ); |
| 23 | 23 | define( 'OPENSTATION_DIR', plugin_dir_path( __FILE__ ) ); |
| 24 | 24 | define( 'OPENSTATION_URL', plugin_dir_url( __FILE__ ) ); |
| 25 | 25 | |
| @@ -194,8 +194,16 @@ | ||
| 194 | 194 | require_once OPENSTATION_DIR . 'includes/living-tree/bootstrap.php'; |
| 195 | 195 | require_once OPENSTATION_DIR . 'includes/games/bootstrap.php'; |
| 196 | 196 | require_once OPENSTATION_DIR . 'includes/agents/bootstrap.php'; |
| 197 | 197 | require_once OPENSTATION_DIR . 'includes/network/bootstrap.php'; |
| 198 | +// First run: the install / first-enable stamps. Loads on every request | |
| 199 | +// because they are written from the AJAX toggle, the portal and the | |
| 200 | +// activation hook, none of them an admin render. | |
| 201 | +require_once OPENSTATION_DIR . 'includes/first-run/bootstrap.php'; | |
| 202 | +// Deactivation feedback: the dialog on the Plugins screen and the | |
| 203 | +// REST route it posts to. Unconditional so the route registers on | |
| 204 | +// REST requests; it stores nothing on the site. | |
| 205 | +require_once OPENSTATION_DIR . 'includes/feedback/bootstrap.php'; | |
| 198 | 206 | require_once OPENSTATION_DIR . 'includes/pwa.php'; |
| 199 | 207 | require_once OPENSTATION_DIR . 'includes/compat/divi.php'; |
| 200 | 208 | |
| 201 | 209 | // Admin-rendering modules — every hook these register (`admin_init`, |