PluginProbe
Plugin Groups / trunk
Plugin Groups vtrunk
trunk 1.0.3 1.1.0 1.2.1 1.2.2 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.9 3.0.0
← All changes | includes/main.php +11 -1 2.0.6trunk View file →
@@ -1,8 +1,18 @@
1 1 <?php
2 2 /**
3 3 * Main UI admin page.
4 4 *
5 + * The full config is fetched client-side from the `load` REST route; this
6 + * only needs to hand the app enough to make that first request.
7 + *
5 8 * @package plugin_groups
9 + * @var $bootstrap array {
10 + * @type string $loadURL REST URL for the `load` route.
11 + * @type string $restNonce Nonce for X-WP-Nonce.
12 + * @type int $siteID Current site ID.
13 + * @type bool $networkAdmin Flag if in network admin.
14 + * }
6 15 */
16 +
7 17 ?>
8 -<div class="plugin-groups-main" id="plg-app"></div>
18 +<div class="plugin-groups-main flex h-full flex-col overflow-hidden" id="plg-app" data-bootstrap="<?php echo esc_attr( wp_json_encode( $bootstrap ) ); ?>"></div>