PluginProbe
Patchstack – WordPress & Plugins Security / 2.2.8
Patchstack – WordPress & Plugins Security v2.2.8
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.8, at includes/views/pages/multisite-table.php

33 lines 976 B
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 <form method="GET" style="display: table;">
19 <div class="wrap">
20 <h2>Available Sites</h2>
21 </div>
22 <input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" />
23 <?php
24 $table = new Patchstack_Network_Sites_Table();
25 $table->prepare_items();
26 $table->search_box( 'Search', 'search' );
27 ?>
28 </form>
29 <?php
30 $table->display();
31 ?>
32 </div>
33