PluginProbe
Patchstack – WordPress & Plugins Security / 2.2.13
Patchstack – WordPress & Plugins Security v2.2.13
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
patchstack / includes / views / pages / multisite-table.php

multisite-table.php in Patchstack – WordPress & Plugins Security 2.2.13, at includes/views/pages/multisite-table.php

39 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Do not allow the file to be called directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 // Output the form and table.
9 require_once dirname( __FILE__ ) . '/../../admin/multisite-table.php';
10 ?>
11 <div class="patchstack-font">
12 <?php
13 if ( isset( $_GET['success'], $_GET['site'] ) && ctype_digit( $_GET['site'] ) ) {
14 $site = get_site( $_GET['site'] );
15 echo '<div class="notice notice-success inline" style="margin: 20px 0 0 0;"><p><strong>The database migration has been re-run for the site: ' . esc_url( $site->siteurl ) . '</strong></p></div>';
16 }
17 ?>
18
19 <div class="notice notice-success inline" style="margin: 20px 0 0 0;">
20 <p>
21 <strong>In order to activate Patchstack on a site, go to the <a href="admin.php?page=patchstack-multisite-settings">activation page.</a></strong>
22 </p>
23 </div>
24
25 <form method="GET" style="display: table;">
26 <div class="wrap">
27 <h2>Available Sites</h2>
28 </div>
29 <input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" />
30 <?php
31 $table = new Patchstack_Network_Sites_Table();
32 $table->prepare_items();
33 ?>
34 </form>
35 <?php
36 $table->display();
37 ?>
38 </div>
39