| @@ -428,8 +428,11 @@ | ||
| 428 | 428 | 'capabilities' => $this->get_user_capabilities(), |
| 429 | 429 | 'settings' => $this->get_admin_settings(), |
| 430 | 430 | 'i18n' => $this->get_i18n_strings(), |
| 431 | 431 | 'isAdmin' => current_user_can('manage_options'), |
| 432 | + // Simple / Advanced navigation for this user (#730). Read once | |
| 433 | + // when the page is built; the header switch updates it in place. | |
| 434 | + 'uiMode' => UI_Mode::get(), | |
| 432 | 435 | // One flag per half of the Import / Export page: the "import from |
| 433 | 436 | // another SEO plugin" section, and ThinkRank's own export/restore. |
| 434 | 437 | 'migrationToolsEnabled' => (bool) $this->settings->get('enable_migration_tools', false), |
| 435 | 438 | 'importExportEnabled' => (bool) $this->settings->get('enable_import_export', false), |